From 55a3237d79eab2b6eebc3d10832d284c7d773ae8 Mon Sep 17 00:00:00 2001
From: Janne Koschinski <janne@kuschku.de>
Date: Sun, 18 Mar 2018 17:57:15 +0100
Subject: [PATCH] Improved upload API

---
 templates/upload.html | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/templates/upload.html b/templates/upload.html
index 52b94ab..e875003 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
-- 
GitLab