diff --git a/templates/upload.html b/templates/upload.html index 52b94ab5e73dbd49df8110bd47922facf54175e2..e875003f2014f3ee2af8600e45d301725604a8b4 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -31,9 +31,11 @@ <script> const form = document.querySelector("form.upload"); const element = document.querySelector("form.upload input[type=file]"); + /* element.addEventListener("change", () => { form.submit(); form.classList.add("submitted"); }) + */ </script> {{end}} \ No newline at end of file