Hide loader before displaying blocking error message

This commit is contained in:
Cohee 2023-12-07 12:29:12 +02:00
parent bd1f09c644
commit 9b7a0f3d35
1 changed files with 1 additions and 0 deletions

View File

@ -8194,6 +8194,7 @@ jQuery(async function () {
$('#option_select_chat').trigger('click');
$('#options').hide();
} catch {
hideLoader();
await delay(500);
await callPopup('An error has occurred. Chat was not renamed.', 'text');
} finally {