Fix mobile alert
This commit is contained in:
parent
bd5f3e7671
commit
4b4871da8f
@ -32,8 +32,8 @@ if (isMobile && !document.cookie.includes('warning_showed=true')) {
|
|||||||
|
|
||||||
function goFromMobileWarning () {
|
function goFromMobileWarning () {
|
||||||
const currentURL = new URL(location.href);
|
const currentURL = new URL(location.href);
|
||||||
fl.go(currentURL.searchParams.get("go"));
|
|
||||||
if (!document.cookie.includes('warning_showed=true')) document.cookie += 'warning_showed=true;';
|
if (!document.cookie.includes('warning_showed=true')) document.cookie += 'warning_showed=true;';
|
||||||
|
fl.go(currentURL.searchParams.get("go"));
|
||||||
}
|
}
|
||||||
|
|
||||||
let mainMenuErrorHandled = false;
|
let mainMenuErrorHandled = false;
|
||||||
|
Reference in New Issue
Block a user