fix a bug in keyboard handler
This commit is contained in:
parent
f2141d792d
commit
ae8ee195a1
1 changed files with 4 additions and 1 deletions
|
@ -114,7 +114,10 @@
|
||||||
resetTimeout = setTimeout(function() {
|
resetTimeout = setTimeout(function() {
|
||||||
keys = '';
|
keys = '';
|
||||||
}, 1000);
|
}, 1000);
|
||||||
if (Ox.contains(keyboardCallbacks[0], event) || (
|
if ((
|
||||||
|
keyboardCallbacks[0]
|
||||||
|
&& Ox.contains(keyboardCallbacks[0], event)
|
||||||
|
) || (
|
||||||
$element && keyboardCallbacks[$element.oxid]
|
$element && keyboardCallbacks[$element.oxid]
|
||||||
&& Ox.contains(keyboardCallbacks[$element.oxid], event)
|
&& Ox.contains(keyboardCallbacks[$element.oxid], event)
|
||||||
)) {
|
)) {
|
||||||
|
|
Loading…
Reference in a new issue