update keyboard controller

This commit is contained in:
rolux 2013-02-25 16:40:50 +00:00
parent ace6c3dd4d
commit 5ecfcd0046

View file

@ -34,6 +34,7 @@ Ox.Keyboard = (function() {
if (
focused === null || (
!$focused.hasClass('OxInput')
&& !$focused.hasClass('OxEditableContent')
&& !$focused.hasClass('OxAutocompleteMenu')
)
) {
@ -54,6 +55,7 @@ Ox.Keyboard = (function() {
'backspace', 'down', 'left', 'right', 'space', 'up'
].indexOf(key) > -1
&& !$focused.hasClass('OxInput')
&& !$focused.hasClass('OxEditableContent')
&& !$focused.hasClass('OxAutocompleteMenu')
) {
ret = false;