This commit is contained in:
SBD
2023-11-27 18:17:20 +03:00
parent aa18a3c542
commit 57a419eeaa

View File

@@ -38,7 +38,8 @@ window.onload = function (){
function middleWareJS(){ function middleWareJS(){
let footer = document.querySelector("footer") let footer = document.querySelector("footer")
let body = document.querySelector("body") let body = document.querySelector("body")
let type = getTypeOfData()
if (type !== 'mobile'){
if (document.querySelector(".menu_buttons.curtain.left") || window.location.href.includes('support') || window.location.href.includes('chat')){ if (document.querySelector(".menu_buttons.curtain.left") || window.location.href.includes('support') || window.location.href.includes('chat')){
footer.style.display = "none" footer.style.display = "none"
body.style.overflow = "hidden" body.style.overflow = "hidden"
@@ -47,6 +48,8 @@ function middleWareJS(){
footer.style.display = "" footer.style.display = ""
body.style.overflow = "" body.style.overflow = ""
} }
}
} }