(js) Improve hotkeys support

pull/222/head
Francis Lachapelle 2016-09-29 13:40:36 -04:00
parent c80ee886b3
commit 77e3d7ca0c
1 changed files with 2 additions and 2 deletions

View File

@ -122,12 +122,12 @@
/**
* Keybindings are ignored by default when coming from a form input field.
*/
this._preventIn = ['INPUT', 'BUTTON', 'SELECT', 'TEXTAREA'];
this._preventIn = ['INPUT', 'SELECT', 'TEXTAREA'];
/**
* Keybindings are ignored by default when coming from special elements
*/
this._preventInClass = ['md-chip-content'];
this._preventInClass = ['md-focused', 'md-chip-content'];
this._onKeydown = this._onKeydown.bind(this);
this._onKeyup = this._onKeyup.bind(this);