summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors1n <[email protected]>2019-10-23 13:11:01 -0700
committerGitHub <[email protected]>2019-10-23 13:11:01 -0700
commit723f7673fc901228f9268fcef1990ab2c15c660a (patch)
tree836e2ccfc93803b4972e2213fa564356786ba852
parentaccurate mobile detec (diff)
downloads1n.pw-admin-723f7673fc901228f9268fcef1990ab2c15c660a.tar.xz
s1n.pw-admin-723f7673fc901228f9268fcef1990ab2c15c660a.zip
accurate mobile detec
-rw-r--r--js/redirect-to-mobile.js4
1 files 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
+}