diff options
| author | s1n <[email protected]> | 2019-10-23 13:11:01 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-10-23 13:11:01 -0700 |
| commit | 723f7673fc901228f9268fcef1990ab2c15c660a (patch) | |
| tree | 836e2ccfc93803b4972e2213fa564356786ba852 | |
| parent | accurate mobile detec (diff) | |
| download | s1n.pw-admin-723f7673fc901228f9268fcef1990ab2c15c660a.tar.xz s1n.pw-admin-723f7673fc901228f9268fcef1990ab2c15c660a.zip | |
accurate mobile detec
| -rw-r--r-- | js/redirect-to-mobile.js | 4 |
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 +} |