summaryrefslogtreecommitdiff
path: root/404/js
diff options
context:
space:
mode:
Diffstat (limited to '404/js')
-rw-r--r--404/js/main.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/404/js/main.js b/404/js/main.js
index 8b45c65..417011a 100644
--- a/404/js/main.js
+++ b/404/js/main.js
@@ -3,4 +3,9 @@ $(document).mousemove(function (event) {
'top': event.pageY,
'left': event.pageX
});
- }); \ No newline at end of file
+ });
+
+// CHECKS IF USER IS ON MOBILE
+if (screen.width <= 480) {
+ location.href = './404/alternate';
+} \ No newline at end of file