From 249547b1f858b606da58f4992666650c85831c7c Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Thu, 8 Feb 2018 21:19:50 +0200 Subject: [PATCH] still fixing for androids --- code/static/js/scripts.js | 2 ++ code/templates/list.html | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/code/static/js/scripts.js b/code/static/js/scripts.js index d6abb56..077cc55 100644 --- a/code/static/js/scripts.js +++ b/code/static/js/scripts.js @@ -20,6 +20,8 @@ function UploadFile(file) { xhr.upload.addEventListener("progress", function(e) { var pc = parseInt((e.loaded / e.total * 100)); o.innerHTML = "Uploading: " + pc + "%"; + // upload works, hide button + document.getElementById("list_upload_button").hidden = true; }, false); // file received/failed diff --git a/code/templates/list.html b/code/templates/list.html index 729089a..920ee09 100644 --- a/code/templates/list.html +++ b/code/templates/list.html @@ -9,14 +9,6 @@
- {% else %}