0.8.404
This commit is contained in:
@@ -38,16 +38,19 @@ 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')){
|
||||||
|
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')){
|
} else {
|
||||||
footer.style.display = "none"
|
footer.style.display = ""
|
||||||
body.style.overflow = "hidden"
|
body.style.overflow = ""
|
||||||
|
}
|
||||||
} else {
|
|
||||||
footer.style.display = ""
|
|
||||||
body.style.overflow = ""
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTypeOfData (data) {
|
function getTypeOfData (data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user