From 83459e16f9200dc9e7cef84894748b1774694f0c Mon Sep 17 00:00:00 2001 From: s1nical Date: Wed, 7 Aug 2019 21:28:43 -0700 Subject: add mobile to desktop switch --- mobile/js/app.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mobile') 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 -- cgit v1.2.3