From e8dc55e3457b928a6e0616707208eccd4ec76f78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Wed, 2 Dec 2015 16:55:12 +0100 Subject: [PATCH] No snow on mobile --- static/js/nochan.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/js/nochan.js b/static/js/nochan.js index c69f00b0..6310e2cc 100755 --- a/static/js/nochan.js +++ b/static/js/nochan.js @@ -241,8 +241,7 @@ $(document).ready(function (){ window.location.href = 'https://www.youtube.com/v/0IGsNdVoEh0?autoplay=1&showinfo=0&autohide=1'; }); - - Nochan.start_snowfall(); + if(!window.mobilecheck()) Nochan.start_snowfall(); /*if(navigator.userAgent.toLowerCase().indexOf("android") > -1){ //console.log("android");