mobile detection
This commit is contained in:
parent
ef1eede323
commit
a10091e078
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@ function redirect() {
|
||||||
navigator.userAgent
|
navigator.userAgent
|
||||||
);
|
);
|
||||||
let disclaimer = `<div class="web-disclaimer">`;
|
let disclaimer = `<div class="web-disclaimer">`;
|
||||||
if (chromium) window.location.replace("/bsod");
|
if ((chromium) && (screen.width >= 699)) window.location.replace("/bsod");
|
||||||
|
if ((chromium) && (screen.width <= 699)) window.location.replace("/mobile-warnc");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Resizable textarea
|
// Resizable textarea
|
||||||
|
|
Loading…
Reference in a new issue