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

View File

@ -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;
});
});