diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2023-01-16 00:17:31 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2023-01-16 00:17:31 +0100 |
| commit | cb057646e818cf4058864314cc4271a38bb07942 (patch) | |
| tree | 46de4231c4252d0d9032d69eded7bf0a2f97553d | |
| parent | 494fc9d7d1f08e05e1ee196bd0746900343b51dd (diff) | |
| download | blob-bin-cb057646e818cf4058864314cc4271a38bb07942.tar.xz blob-bin-cb057646e818cf4058864314cc4271a38bb07942.zip | |
fix: alert stops the upload from happening until it is dismissed
| -rw-r--r-- | src/wwwroot/index.html | 2 |
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) => { |
