summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/assets/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/assets/index.js b/client/assets/index.js
index fc53eae..b18b3d8 100644
--- a/client/assets/index.js
+++ b/client/assets/index.js
@@ -86,6 +86,7 @@ function setupUploadForm() {
uploadButton.style.display = 'none';
progressBar.style.display = 'block';
+ fileInput.disabled = true;
try {
await uploadFileInChunks(file, progressFill);
@@ -96,6 +97,7 @@ function setupUploadForm() {
} finally {
progressBar.style.display = 'none';
uploadButton.style.display = 'inline-block';
+ fileInput.disabled = false;
}
});
}