correct work curtain

This commit is contained in:
SBD
2024-01-06 14:48:31 +03:00
parent fbcbe93042
commit fb9228c432

View File

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