summaryrefslogtreecommitdiff
path: root/mobile/js/app.js
diff options
context:
space:
mode:
authors1nical <[email protected]>2019-08-07 21:28:43 -0700
committers1nical <[email protected]>2019-08-07 21:28:43 -0700
commit83459e16f9200dc9e7cef84894748b1774694f0c (patch)
tree849efac2c376ae7060f91d8b7f8e9602e4aae5c9 /mobile/js/app.js
parentupdate mobile detecting system (diff)
downloads1n.pw-admin-83459e16f9200dc9e7cef84894748b1774694f0c.tar.xz
s1n.pw-admin-83459e16f9200dc9e7cef84894748b1774694f0c.zip
add mobile to desktop switch
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