summaryrefslogtreecommitdiff
path: root/mobile/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/js/app.js')
-rw-r--r--mobile/js/app.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/mobile/js/app.js b/mobile/js/app.js
index 69b6784..75106dc 100644
--- a/mobile/js/app.js
+++ b/mobile/js/app.js
@@ -3,6 +3,11 @@ $(window).on("load", function () {
$(".loader-wrapper").fadeOut("slow");
})
+// CHECKS IF USER IS ON DESKTOP
+if( screen.width > 480 ) {
+ location.href = '../index.html';
+}
+
// BACKGROUND SPARKLES
// SCRIPT #1