From 723f7673fc901228f9268fcef1990ab2c15c660a Mon Sep 17 00:00:00 2001 From: s1n Date: Wed, 23 Oct 2019 13:11:01 -0700 Subject: accurate mobile detec --- js/redirect-to-mobile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/redirect-to-mobile.js b/js/redirect-to-mobile.js index 9eadbc3..ac9a41d 100644 --- a/js/redirect-to-mobile.js +++ b/js/redirect-to-mobile.js @@ -1,4 +1,4 @@ // CHECKS IF USER IS ON MOBILE -if (screen.width <= 699) { +if (screen.width <= 768) { location.href = '/m/'; -} \ No newline at end of file +} -- cgit v1.2.3