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 %}