mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-09 16:40:10 +01:00
Emit event when a single chat message is deleted
This commit is contained in:
parent
d82ea66664
commit
d9e7eba617
@ -8051,7 +8051,7 @@ $(document).ready(function () {
|
||||
is_delete_mode = false;
|
||||
});
|
||||
|
||||
//confirms message delation with the "ok" button
|
||||
//confirms message deletion with the "ok" button
|
||||
$("#dialogue_del_mes_ok").click(function () {
|
||||
$("#dialogue_del_mes").css("display", "none");
|
||||
$("#send_form").css("display", css_send_form_display);
|
||||
@ -8451,6 +8451,8 @@ $(document).ready(function () {
|
||||
updateViewMessageIds();
|
||||
saveChatConditional();
|
||||
|
||||
eventSource.emit(event_types.MESSAGE_DELETED, count_view_mes);
|
||||
|
||||
hideSwipeButtons();
|
||||
showSwipeButtons();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user