summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/app.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/js/app.js b/js/app.js
index b2f9848..a14a758 100644
--- a/js/app.js
+++ b/js/app.js
@@ -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