mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-17 12:40:40 +01:00
Cancel deletion mode on switching chats
This commit is contained in:
parent
a39ee32f93
commit
a02446c4cc
@ -1360,6 +1360,9 @@ async function printMessages() {
|
||||
async function clearChat() {
|
||||
count_view_mes = 0;
|
||||
extension_prompts = {};
|
||||
if (is_delete_mode) {
|
||||
$("#dialogue_del_mes_cancel").trigger('click');
|
||||
}
|
||||
$("#chat").children().remove();
|
||||
if ($('.zoomed_avatar[forChar]').length) {
|
||||
console.debug('saw avatars to remove')
|
||||
|
Loading…
x
Reference in New Issue
Block a user