This commit is contained in:
xdrm-brackets 2018-03-06 19:42:09 +01:00
parent 39cc5ef906
commit 3cfde3e948
1 changed files with 2 additions and 2 deletions

View File

@ -13,6 +13,6 @@ gstore.add('login_error_text', '');
gstore.add('icon', { it: null, a: new Audio('https://cloud.xdrm.io/index.php/s/6oJe9GzzrwpqJgj/download') });
gstore.get.icon.start = (function(e){ this.stop().it=setInterval((function(){ this.play(); }).bind(this.a), 100*100); }).bind(gstore.get.icon);
gstore.get.icon.stop = (function(e){ !isNaN(parseInt(gstore.get.icon.it)) && clearInterval(gstore.get.icon.it); return this; }).bind(gstore.get.icon);
gstore.get.icon.start = (function(e){ this.stop().it=setTimeout((function(){ this.play(); }).bind(this.a), 100*100); }).bind(gstore.get.icon);
gstore.get.icon.stop = (function(e){ !isNaN(parseInt(gstore.get.icon.it)) && clearTimeout(gstore.get.icon.it); return this; }).bind(gstore.get.icon);