Fixed progress bar is still visible after cancelling upload

This commit is contained in:
t510599 2020-06-30 00:07:56 +08:00
parent 2a96c8d61a
commit 44469e4468
Signed by: t510599
GPG Key ID: D88388851C28715D

View File

@ -154,6 +154,7 @@ dqs("#submitbtn").on("click", ev => {
ts(".snackbar").snackbar({ ts(".snackbar").snackbar({
content: "上傳已取消" content: "上傳已取消"
}); });
dqs("#dragzone").dataset.mode = "selecting";
} else { } else {
console.error(e); console.error(e);
} }