mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Display loader on loading past chats
This commit is contained in:
@ -9073,11 +9073,16 @@ jQuery(async function () {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
showLoader();
|
||||||
if (selected_group) {
|
if (selected_group) {
|
||||||
await openGroupChat(selected_group, file_name);
|
await openGroupChat(selected_group, file_name);
|
||||||
} else {
|
} else {
|
||||||
await openCharacterChat(file_name);
|
await openCharacterChat(file_name);
|
||||||
}
|
}
|
||||||
|
} finally {
|
||||||
|
hideLoader();
|
||||||
|
}
|
||||||
|
|
||||||
$('#shadow_select_chat_popup').css('display', 'none');
|
$('#shadow_select_chat_popup').css('display', 'none');
|
||||||
$('#load_select_chat_div').css('display', 'block');
|
$('#load_select_chat_div').css('display', 'block');
|
||||||
|
Reference in New Issue
Block a user