FIX: Don't trigger browser keyboard events when d-editor intercepts

This commit is contained in:
Robin Ward 2015-11-13 12:31:55 -05:00
parent 3939331dec
commit d993f70ed3
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ export default Ember.Component.extend({
const button = shortcuts[sc]; const button = shortcuts[sc];
Mousetrap(this.$('.d-editor-input')[0]).bind(sc, () => { Mousetrap(this.$('.d-editor-input')[0]).bind(sc, () => {
this.send(button.action, button); this.send(button.action, button);
return false;
}); });
}); });