diff options
| author | s1nical <[email protected]> | 2019-08-27 21:45:13 -0700 |
|---|---|---|
| committer | s1nical <[email protected]> | 2019-08-27 21:45:13 -0700 |
| commit | 222de4e91ac1ba9340b50ab299735ff7d88d0e35 (patch) | |
| tree | 0fcfaa7a1264952dc80959489635590fdb9062f2 /mobile/js | |
| parent | add about redirect to konami nav bar (diff) | |
| download | s1n.pw-admin-222de4e91ac1ba9340b50ab299735ff7d88d0e35.tar.xz s1n.pw-admin-222de4e91ac1ba9340b50ab299735ff7d88d0e35.zip | |
seperate mobile/desktop redirects
Diffstat (limited to 'mobile/js')
| -rw-r--r-- | mobile/js/app.js | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/mobile/js/app.js b/mobile/js/app.js index ae22283..af7b893 100644 --- a/mobile/js/app.js +++ b/mobile/js/app.js @@ -3,11 +3,6 @@ $(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 @@ -46,7 +41,7 @@ var time = 10, pathCollection = $paths.get(), count = $paths.length; -console.log(count); +// console.log(count); pathCollection.sort(function () { return Math.random() * 10 > 5 ? 1 : -1; @@ -80,7 +75,7 @@ setTimeout(function () { }); }, 2000); -// Honestly I have NO idea what this is but it was in the original site source code so I kept it :) +/* Honestly I have NO idea what this is but it was in the original site source code so I kept it :) (async () => { if (navigator.webdriver || document.visibilityState === 'prerender' || !location.hostname) { return; @@ -88,4 +83,4 @@ setTimeout(function () { document.querySelector('a[href="/cdn-cgi/l/email-protection"]').href = `\x6dailto:hi\x40${location.hostname}`; })(); - +*/
\ No newline at end of file |