From 0d063629f5287842e37ef57a284093e8a6d18fe5 Mon Sep 17 00:00:00 2001 From: s1n Date: Wed, 23 Oct 2019 13:10:44 -0700 Subject: accurate mobile detec --- js/redirect-to-desktop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/redirect-to-desktop.js b/js/redirect-to-desktop.js index 1530ad1..854cff9 100644 --- a/js/redirect-to-desktop.js +++ b/js/redirect-to-desktop.js @@ -1,4 +1,4 @@ // CHECKS IF USER IS ON DESKTOP -if (screen.width > 699) { +if (screen.width > 768) { location.href = '/'; } -- cgit v1.2.3