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() {
|
async function clearChat() {
|
||||||
count_view_mes = 0;
|
count_view_mes = 0;
|
||||||
extension_prompts = {};
|
extension_prompts = {};
|
||||||
|
if (is_delete_mode) {
|
||||||
|
$("#dialogue_del_mes_cancel").trigger('click');
|
||||||
|
}
|
||||||
$("#chat").children().remove();
|
$("#chat").children().remove();
|
||||||
if ($('.zoomed_avatar[forChar]').length) {
|
if ($('.zoomed_avatar[forChar]').length) {
|
||||||
console.debug('saw avatars to remove')
|
console.debug('saw avatars to remove')
|
||||||
|
|
Loading…
Reference in New Issue