Skip to content

Commit

Permalink
fix another this issue
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierchatry committed Oct 19, 2017
1 parent e9da87a commit 7a0cb6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/create-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function(bindEvent, unbindEvent) {
const type = Ember.typeOf(action);
let callback;
if (type === 'string') {
callback = function(){
callback = () => {
this.send(action);
return preventDefault !== true;
}
Expand Down

0 comments on commit 7a0cb6f

Please sign in to comment.