0.8.404
This commit is contained in:
@@ -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 = ""
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user