* Format codes.

This commit is contained in:
daitingting
2023-10-17 08:47:09 +00:00
parent 68cf3cd9c5
commit 771b91604f
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -41,21 +41,21 @@ js
function setDownloading()
{
if(navigator.userAgent.toLowerCase().indexOf("opera") > -1) return true; // Opera don't support, omit it.
$.cookie.set('downloading', 0);
time = setInterval(function()
{
if($.cookie.get('downloading') == 1)
{
$('.modal .modal-actions .close')[0].click();
$.cookie.set('downloading', null);
clearInterval(time);
}
}, 300);
return true;
}
JAVASCRIPT