events: missing renames
This commit is contained in:
parent
1930f5465c
commit
1bda72cd12
2 changed files with 4 additions and 2 deletions
|
|
@ -38,6 +38,8 @@ module.exports = class EventEmitter {
|
|||
}
|
||||
|
||||
// Event bubbling
|
||||
// DOM events won't buttle
|
||||
// Virtual events will unless data.stopPropagation is set
|
||||
if (!data || !data.stopPropagation) {
|
||||
if (this.parent) this.parent.trigger(evt, data)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue