From 9b7a0f3d351efb2d9756aa894a65f16309ba9769 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Thu, 7 Dec 2023 12:29:12 +0200 Subject: [PATCH] Hide loader before displaying blocking error message --- public/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/script.js b/public/script.js index 46a657ef4..6ab1ddccc 100644 --- a/public/script.js +++ b/public/script.js @@ -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 {