[go: nahoru, domu]

Skip to content

Commit

Permalink
Remove unnecessary context from eventtarget
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjoDiaz committed Feb 26, 2019
1 parent fe5974a commit 667f3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/util/eventtarget.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 667f3cc

Please sign in to comment.