summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wwwroot/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wwwroot/index.html b/src/wwwroot/index.html
index 390ef4c..1495cf1 100644
--- a/src/wwwroot/index.html
+++ b/src/wwwroot/index.html
@@ -58,7 +58,7 @@
const fileInput = document.getElementById("file");
document.getElementById("file-form").addEventListener("submit", () => {
if (fileInput.files[0].size > 104_857_60) {
- alert("Uploading...");
+ document.querySelector("#file-form .btn").innerText = "Uploading...";
}
});
fileInput.addEventListener("change", (e) => {