correct work curtain
This commit is contained in:
@@ -68,7 +68,7 @@ function openOrCloseCurtainSupportChat (){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function openOverlayOrClose () {
|
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')
|
let overlay = document.querySelector('.block_overlay')
|
||||||
if (screen.width < 700){
|
if (screen.width < 700){
|
||||||
if (!overlay.classList.contains("show")){
|
if (!overlay.classList.contains("show")){
|
||||||
|
|||||||
Reference in New Issue
Block a user