mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Cancel deletion mode on switching chats
This commit is contained in:
@ -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')
|
||||
|
Reference in New Issue
Block a user