Merge pull request #2206 from Alketta/fix-missing-event-param
Fix missing event param in isTargetClickedpull/2316/head
commit
a01cfc8747
|
@ -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) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue