diff --git a/theme/onemoe.html b/theme/onemoe.html
index 59733e9..161d0e9 100644
--- a/theme/onemoe.html
+++ b/theme/onemoe.html
@@ -877,19 +877,19 @@
reader.readAsArrayBuffer(blob);
}
readblob(asize);
-
+
var spark = new SparkMD5.ArrayBuffer();
-
+
reader.onload = function(e){
var binary = this.result;
-
+
spark.append(binary);
if (asize < newstartsize) {
asize += chunksize;
readblob(asize);
return;
}
-
+
var xhr = new XMLHttpRequest();
xhr.open("PUT", url, true);
//xhr.setRequestHeader('x-requested-with','XMLHttpRequest');
@@ -916,7 +916,7 @@
xhr3.onload = function(e){
console.log(xhr3.responseText+','+xhr3.status);
}
-
+
var filemd5 = spark.end();
var xhr4 = new XMLHttpRequest();
xhr4.open("GET", '?action=uploaded_rename&filename='+encodeURIComponent((file.webkitRelativePath||file.name))+'&filemd5='+filemd5);
@@ -941,7 +941,7 @@
document.getElementById('upfile_a1_'+tdnum).href = filename;
document.getElementById('upfile_cpbt_'+tdnum).style.display = "";
}
-
+
EndTime=new Date();
MiddleStr = ':'+EndTime.toLocaleString()+'
';
if (newstartsize==0) {