summaryrefslogtreecommitdiff
path: root/cars
diff options
context:
space:
mode:
Diffstat (limited to 'cars')
-rw-r--r--cars/js/main.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/cars/js/main.js b/cars/js/main.js
index 916aa7e..010a278 100644
--- a/cars/js/main.js
+++ b/cars/js/main.js
@@ -1,16 +1,7 @@
-/*
// CHECKS IF USER IS ON MOBILE
if (screen.width <= 480) {
location.href = '/mobile';
}
-*/
-
-// THIS CHECKS WHAT OS THE USER IS ON
-// This is a old variation so don't use this.
-// Using it because this way you can use Chrome's "Request Desktop Site" feature.
-if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)) {
- location.href = '/mobile/';
-}
// rendered-js
class Wall {