Skip to content

Commit

Permalink
FIX: Don't trigger browser keyboard events when d-editor intercepts
Browse files Browse the repository at this point in the history
  • Loading branch information
eviltrout committed Nov 13, 2015
1 parent 3939331 commit d993f70
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -169,6 +169,7 @@ export default Ember.Component.extend({
const button = shortcuts[sc];
Mousetrap(this.$('.d-editor-input')[0]).bind(sc, () => {
this.send(button.action, button);
return false;
});
});

Expand Down

0 comments on commit d993f70

Please sign in to comment.