diff options
| author | s1n <[email protected]> | 2019-10-29 13:08:16 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-10-29 13:08:16 -0700 |
| commit | 9fea43e16592c16756add37e2e68f8f16831c12e (patch) | |
| tree | 3f6cf1a01dcea9a51901a4098aa368c3f113d6a2 /js | |
| parent | Create redirect-to-mobile.js (diff) | |
| download | s1n.pw-admin-9fea43e16592c16756add37e2e68f8f16831c12e.tar.xz s1n.pw-admin-9fea43e16592c16756add37e2e68f8f16831c12e.zip | |
fomrat
Diffstat (limited to 'js')
| -rw-r--r-- | js/redirect-to-mobile.js | 2 |
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 = '/'; } |