From 7a0cb6f85b0e138c9d18a70b2ecbb25eb669677c Mon Sep 17 00:00:00 2001 From: Olivier Chatry Date: Thu, 19 Oct 2017 13:58:16 +0200 Subject: [PATCH] fix another this issue --- addon/create-mixin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/create-mixin.js b/addon/create-mixin.js index f174470..387a19c 100644 --- a/addon/create-mixin.js +++ b/addon/create-mixin.js @@ -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; }