From fb9228c4321616898c024295a4ac1613b76de951 Mon Sep 17 00:00:00 2001 From: SBD Date: Sat, 6 Jan 2024 14:48:31 +0300 Subject: [PATCH] correct work curtain --- static/js/global_js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/global_js.js b/static/js/global_js.js index e295c4c..3cc86ba 100644 --- a/static/js/global_js.js +++ b/static/js/global_js.js @@ -68,7 +68,7 @@ function openOrCloseCurtainSupportChat (){ } function openOverlayOrClose () { - if (window.location.href.includes("profile")){ + if (window.location.href.includes("profile") && !window.location.href.includes("login") && !window.location.href.includes("registration")){ let overlay = document.querySelector('.block_overlay') if (screen.width < 700){ if (!overlay.classList.contains("show")){