mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge pull request #3154 from SillyTavern/optimize-past-swipes
Optimize past swipes
This commit is contained in:
@ -98,7 +98,6 @@ import {
|
||||
resetMovableStyles,
|
||||
forceCharacterEditorTokenize,
|
||||
applyPowerUserSettings,
|
||||
switchSwipeNumAllMessages,
|
||||
} from './scripts/power-user.js';
|
||||
|
||||
import {
|
||||
@ -7664,14 +7663,12 @@ export function showSwipeButtons() {
|
||||
//allows for writing individual swipe counters for past messages
|
||||
const lastSwipeCounter = $('.last_mes .swipes-counter');
|
||||
lastSwipeCounter.text(swipeCounterText).show();
|
||||
|
||||
switchSwipeNumAllMessages();
|
||||
}
|
||||
|
||||
export function hideSwipeButtons() {
|
||||
$('#chat').find('.swipe_right').hide();
|
||||
$('#chat').find('.last_mes .swipes-counter').hide();
|
||||
$('#chat').find('.swipe_left').hide();
|
||||
chatElement.find('.swipe_right').hide();
|
||||
chatElement.find('.last_mes .swipes-counter').hide();
|
||||
chatElement.find('.swipe_left').hide();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user