fup: clear the file input when we start the upload
This prevents the back button from upload the same files *again*.
This commit is contained in:
parent
75afddacc4
commit
48be007f79
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ if (document.body.classList.contains('upload-page')) {
|
|||
|
||||
uploadFile(file, expiryEl.value);
|
||||
}
|
||||
inputFileEl.value = null;
|
||||
});
|
||||
|
||||
document.body.addEventListener('dragenter', (e) => {
|
||||
|
|
Loading…
Reference in a new issue