update keyboard controller
This commit is contained in:
parent
ace6c3dd4d
commit
5ecfcd0046
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,7 @@ Ox.Keyboard = (function() {
|
||||||
if (
|
if (
|
||||||
focused === null || (
|
focused === null || (
|
||||||
!$focused.hasClass('OxInput')
|
!$focused.hasClass('OxInput')
|
||||||
|
&& !$focused.hasClass('OxEditableContent')
|
||||||
&& !$focused.hasClass('OxAutocompleteMenu')
|
&& !$focused.hasClass('OxAutocompleteMenu')
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
|
@ -54,6 +55,7 @@ Ox.Keyboard = (function() {
|
||||||
'backspace', 'down', 'left', 'right', 'space', 'up'
|
'backspace', 'down', 'left', 'right', 'space', 'up'
|
||||||
].indexOf(key) > -1
|
].indexOf(key) > -1
|
||||||
&& !$focused.hasClass('OxInput')
|
&& !$focused.hasClass('OxInput')
|
||||||
|
&& !$focused.hasClass('OxEditableContent')
|
||||||
&& !$focused.hasClass('OxAutocompleteMenu')
|
&& !$focused.hasClass('OxAutocompleteMenu')
|
||||||
) {
|
) {
|
||||||
ret = false;
|
ret = false;
|
||||||
|
|
Loading…
Reference in a new issue