summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors1n <[email protected]>2019-10-29 13:08:16 -0700
committerGitHub <[email protected]>2019-10-29 13:08:16 -0700
commit9fea43e16592c16756add37e2e68f8f16831c12e (patch)
tree3f6cf1a01dcea9a51901a4098aa368c3f113d6a2
parentCreate redirect-to-mobile.js (diff)
downloads1n.pw-admin-9fea43e16592c16756add37e2e68f8f16831c12e.tar.xz
s1n.pw-admin-9fea43e16592c16756add37e2e68f8f16831c12e.zip
fomrat
-rw-r--r--js/redirect-to-mobile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/redirect-to-mobile.js b/js/redirect-to-mobile.js
index 08d740b..cae39a9 100644
--- a/js/redirect-to-mobile.js
+++ b/js/redirect-to-mobile.js
@@ -1,4 +1,4 @@
-/ CHECKS IF USER IS ON MOBILE
+// CHECKS IF USER IS ON MOBILE
if (screen.width < 768) {
location.href = '/';
}