diff options
Diffstat (limited to 'static/upload.js')
| -rw-r--r-- | static/upload.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
