From ef2de0d3521d84f9d3d703c21f856b82c1ebabff Mon Sep 17 00:00:00 2001 From: wangyidong Date: Fri, 9 Nov 2012 06:40:42 +0000 Subject: [PATCH] * delete var i in js. --- module/file/view/export.html.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/file/view/export.html.php b/module/file/view/export.html.php index bd7e42a5a6..f3626de72b 100644 --- a/module/file/view/export.html.php +++ b/module/file/view/export.html.php @@ -24,13 +24,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 ++; } function switchEncode(fileType) {