Update hide / unhide commands to accept range

This commit is contained in:
Cohee
2023-11-14 21:37:37 +02:00
parent c6ac4459a3
commit abb8b0f0cc
3 changed files with 33 additions and 16 deletions

View File

@@ -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() {