(js) Improve hotkeys support
parent
c80ee886b3
commit
77e3d7ca0c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue