Commit 4814be7d authored by Zack Lee's avatar Zack Lee
Browse files

change the files auto-refresh rate to 200ms and change Module.FS to FS

parent dcbc90a0
...@@ -2048,7 +2048,7 @@ function upload_patch(files) { ...@@ -2048,7 +2048,7 @@ function upload_patch(files) {
// Refresh file list after upload file // Refresh file list after upload file
setTimeout(function(){ setTimeout(function(){
update_file_ls(); update_file_ls();
}, 2000); }, 200);
} }
...@@ -2095,7 +2095,7 @@ function download_patch(file_name) { ...@@ -2095,7 +2095,7 @@ function download_patch(file_name) {
setTimeout(() => { setTimeout(() => {
document.body.removeChild(a); document.body.removeChild(a);
URL.revokeObjectURL(a.href); URL.revokeObjectURL(a.href);
}, 200); }, 2000);
} else{ } else{
alert("Please save before download!") alert("Please save before download!")
return; return;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment