* fix js error.

This commit is contained in:
wyd621
2013-08-20 08:27:10 +08:00
parent 58ab795bdf
commit 3079ce5fa5
+1 -2
View File
@@ -11,13 +11,12 @@ function setDownloading()
function closeWindow()
{
if($.cookie('downloading') == 1 || i >= 30)
if($.cookie('downloading') == 1)
{
parent.$.fn.colorbox.close();
$.cookie('downloading', null);
clearInterval(time);
}
i ++;
}
</script>
<form method='post' target='hiddenwin' onsubmit='setDownloading();'>