diff --git a/theme/classic.html b/theme/classic.html index 501e9e8..b8f6ac4 100644 --- a/theme/classic.html +++ b/theme/classic.html @@ -1101,6 +1101,7 @@ var ext = getext(file.webkitRelativePath||file.name); upbigfilename = filesha1 + ext; + while (upbigfilename.indexOf('%2F')>0) upbigfilename = upbigfilename.replace('%2F', '/'); td2.innerHTML=' ...'; var html = JSON.parse(localStorage.getItem(filesha1)); //console.log(html); @@ -1126,7 +1127,7 @@ if (html.exist==true) td2.innerHTML=html.name+' 文件名已有'; else if (html.rapid_upload==true) td2.innerHTML=html.name+' 秒传'; else td2.innerHTML=''+xhr1.responseText+'
'; - td1.innerHTML='
'+td1.innerHTML+'
'; + td1.innerHTML='
'+td1.innerHTML+'
'; } else { td2.innerHTML=''+xhr1.responseText+'
'; } @@ -1217,7 +1218,6 @@ } else { MiddleStr += ':'+size_format((totalsize-newstartsize)*1000/(EndTime.getTime()-StartTime.getTime()))+'/s
'; } - while (filename.indexOf('%2F')>0) filename = filename.replace('%2F', '/'); document.getElementById('upfile_td1_'+tdnum).innerHTML='
'+document.getElementById('upfile_td1_'+tdnum).innerHTML+'
'; label.innerHTML=StartStr+MiddleStr; label.style.color='green'; @@ -1287,7 +1287,6 @@ } else { MiddleStr += ':'+size_format((totalsize-newstartsize)*1000/(EndTime.getTime()-StartTime.getTime()))+'/s
'; } - while (filename.indexOf('%2F')>0) filename = filename.replace('%2F', '/'); document.getElementById('upfile_td1_'+tdnum).innerHTML='
'+document.getElementById('upfile_td1_'+tdnum).innerHTML+'
'; label.innerHTML=StartStr+MiddleStr; label.style.color='green';