Merge pull request #4668 from FlipWarthog/PV4667

Fix #4667 - FileUpload: Basic uploader click
pull/4694/head
Tuğçe Küçükoğlu 2023-10-25 12:35:54 +03:00 committed by GitHub
commit 91f683a1ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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