This commit is contained in:
SBD
2023-12-05 21:11:36 +03:00
parent 72ed6369d8
commit 885e4722af

View File

@@ -24,6 +24,11 @@ function middleWareJS(){
body.style.overflow = ""
}
}
if (!window.location.href.includes("mobile") && !window.location.href.includes("route_search_results")){
window.location.href = window.location.href + `?mobile=${getInfoAboutUser() === 'mobile'}`
} else if (window.location.href.includes("route_search_results")){
window.location.href = window.location.href + `&mobile=${getInfoAboutUser() === 'mobile'}`
}
}