diff options
| author | s1nical <[email protected]> | 2019-08-23 05:36:09 -0700 |
|---|---|---|
| committer | s1nical <[email protected]> | 2019-08-23 05:36:09 -0700 |
| commit | ce4803dcddc83e3f4cd6775bc0aea2672a8e9417 (patch) | |
| tree | ecea54538e15f1c57f0ba65e9ac71afff160c763 | |
| parent | redo previous useragent back to screenwidth (diff) | |
| download | s1n.pw-admin-ce4803dcddc83e3f4cd6775bc0aea2672a8e9417.tar.xz s1n.pw-admin-ce4803dcddc83e3f4cd6775bc0aea2672a8e9417.zip | |
formatting fix
| -rw-r--r-- | js/app.js | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -6,10 +6,11 @@ $(window).on("load", function () { })
/*
-// THIS CHECKS WHAT OS THE USER IS ON, This is a old variation so don't use this.
-// if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)) {
-// location.href = './mobile/';
-// }
+// THIS CHECKS WHAT OS THE USER IS ON
+// This is a old variation so don't use this.
+if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)) {
+ location.href = './mobile/';
+}
*/
// CHECKS IF USER IS ON MOBILE
|