Fix #4667 - FileUpload: Basic uploader click

pull/4668/head
FlipWarthog 2023-10-20 20:30:36 -04:00
parent 19f52ab2f8
commit 031d0897b3
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ export default {
}, },
onBasicUploaderClick(event) { onBasicUploaderClick(event) {
if (this.hasFiles) this.upload(); if (this.hasFiles) this.upload();
if (event.button === 0) this.$refs.fileInput.click(); else if (event.button === 0) this.$refs.fileInput.click();
}, },
remove(index) { remove(index) {
this.clearInputElement(); this.clearInputElement();