From f4afd2eb6be4bdf6236c6e410d1c3846f2b6e685 Mon Sep 17 00:00:00 2001 From: James Mills Date: Fri, 27 Mar 2020 21:26:13 +1000 Subject: Add some minor UI tweaks --- static/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/upload.js') diff --git a/static/upload.js b/static/upload.js index 457f01e..468cae0 100644 --- a/static/upload.js +++ b/static/upload.js @@ -109,7 +109,7 @@ document.addEventListener('DOMContentLoaded', () => { }, false) const labelClicked = (e) => { - if (uploadInProgress === true) { + if (uploadInProgress === true || file != null) { e.preventDefault() return false } -- cgit v1.2.3