mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update hide / unhide commands to accept range
This commit is contained in:
@@ -4,7 +4,7 @@ import {
|
||||
chat,
|
||||
getCurrentChatId,
|
||||
hideSwipeButtons,
|
||||
saveChatConditional,
|
||||
saveChatDebounced,
|
||||
showSwipeButtons,
|
||||
} from "../script.js";
|
||||
|
||||
@@ -30,7 +30,7 @@ export async function hideChatMessage(messageId, messageBlock) {
|
||||
hideSwipeButtons();
|
||||
showSwipeButtons();
|
||||
|
||||
await saveChatConditional();
|
||||
saveChatDebounced();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -55,7 +55,7 @@ export async function unhideChatMessage(messageId, messageBlock) {
|
||||
hideSwipeButtons();
|
||||
showSwipeButtons();
|
||||
|
||||
await saveChatConditional();
|
||||
saveChatDebounced();
|
||||
}
|
||||
|
||||
jQuery(function() {
|
||||
|
Reference in New Issue
Block a user