mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-26 08:32:44 +00:00
(js) Improve hotkeys support
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user