Remove unnecessary context from eventtarget
This commit is contained in:
parent
fe5974a740
commit
667f3cc20e
|
@ -29,7 +29,7 @@ export default class EventTargetMixin {
|
|||
return true;
|
||||
}
|
||||
this._listeners.get(event.type)
|
||||
.forEach(callback => callback.call(this, event), this);
|
||||
.forEach(callback => callback.call(this, event));
|
||||
return !event.defaultPrevented;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue