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")){