diff options
| author | s1n <[email protected]> | 2019-10-23 13:10:44 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-10-23 13:10:44 -0700 |
| commit | 0d063629f5287842e37ef57a284093e8a6d18fe5 (patch) | |
| tree | 74151db728ed0d733d1903ef70c3ca2e8615dbc9 | |
| parent | remove backslash (diff) | |
| download | s1n.pw-admin-0d063629f5287842e37ef57a284093e8a6d18fe5.tar.xz s1n.pw-admin-0d063629f5287842e37ef57a284093e8a6d18fe5.zip | |
accurate mobile detec
| -rw-r--r-- | js/redirect-to-desktop.js | 2 |
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 = '/'; } |