summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors1n <[email protected]>2019-10-23 13:10:44 -0700
committerGitHub <[email protected]>2019-10-23 13:10:44 -0700
commit0d063629f5287842e37ef57a284093e8a6d18fe5 (patch)
tree74151db728ed0d733d1903ef70c3ca2e8615dbc9
parentremove backslash (diff)
downloads1n.pw-admin-0d063629f5287842e37ef57a284093e8a6d18fe5.tar.xz
s1n.pw-admin-0d063629f5287842e37ef57a284093e8a6d18fe5.zip
accurate mobile detec
-rw-r--r--js/redirect-to-desktop.js2
1 files changed, 1 insertions, 1 deletions
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 = '/';
}