Skip to content

Commit d88b9e3

Browse files
committed
Easiest passage of event
1 parent ed9fdc4 commit d88b9e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/input-file.component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class InputFileComponent {
1313
if (this.$attrs.multiple !== 'false' && (this.$attrs.multiple === '' || this.$attrs.multiple)) {
1414
inputElement.setAttribute('multiple', '');
1515
}
16-
inputElement.addEventListener('change', event => this.onInputChange(event), false);
16+
inputElement.addEventListener('change', this.onInputChange, false);
1717
}
1818

1919
onInputChange(event) {

0 commit comments

Comments
 (0)