Merge pull request #2206 from Alketta/fix-missing-event-param

Fix missing event param in isTargetClicked
pull/2316/head
Tuğçe Küçükoğlu 2022-03-14 15:44:12 +03:00 committed by GitHub
commit a01cfc8747
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -176,7 +176,7 @@ export default {
this.resizeListener = null; this.resizeListener = null;
} }
}, },
isTargetClicked() { isTargetClicked(event) {
return this.target && (this.target === event.target || this.target.contains(event.target)); return this.target && (this.target === event.target || this.target.contains(event.target));
}, },
containerRef(el) { containerRef(el) {

View File

@ -188,7 +188,7 @@ export default {
this.resizeListener = null; this.resizeListener = null;
} }
}, },
isTargetClicked() { isTargetClicked(event) {
return this.target && (this.target === event.target || this.target.contains(event.target)); return this.target && (this.target === event.target || this.target.contains(event.target));
}, },
visible(item) { visible(item) {

View File

@ -160,7 +160,7 @@ export default {
this.resizeListener = null; this.resizeListener = null;
} }
}, },
isTargetClicked() { isTargetClicked(event) {
return this.target && (this.target === event.target || this.target.contains(event.target)); return this.target && (this.target === event.target || this.target.contains(event.target));
}, },
onLeafClick() { onLeafClick() {