0.8.404
This commit is contained in:
@@ -38,16 +38,19 @@ window.onload = function (){
|
||||
function middleWareJS(){
|
||||
let footer = document.querySelector("footer")
|
||||
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')){
|
||||
footer.style.display = "none"
|
||||
body.style.overflow = "hidden"
|
||||
|
||||
if (document.querySelector(".menu_buttons.curtain.left") || window.location.href.includes('support') || window.location.href.includes('chat')){
|
||||
footer.style.display = "none"
|
||||
body.style.overflow = "hidden"
|
||||
|
||||
} else {
|
||||
footer.style.display = ""
|
||||
body.style.overflow = ""
|
||||
} else {
|
||||
footer.style.display = ""
|
||||
body.style.overflow = ""
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
function getTypeOfData (data) {
|
||||
|
||||
Reference in New Issue
Block a user