Commit 036c7d2c authored by Zack Lee's avatar Zack Lee
Browse files

Merge branch 'update_pdgui' into 'emscripten22-test'

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

See merge request cuinjune/purr-data!98
parents a754fae9 4814be7d
......@@ -2048,7 +2048,7 @@ function upload_patch(files) {
// Refresh file list after upload file
setTimeout(function(){
update_file_ls();
}, 2000);
}, 200);
}
......@@ -2095,7 +2095,7 @@ function download_patch(file_name) {
setTimeout(() => {
document.body.removeChild(a);
URL.revokeObjectURL(a.href);
}, 200);
}, 2000);
} else{
alert("Please save before download!")
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