diff --git a/source/Ox.UI/js/Core/Event.js b/source/Ox.UI/js/Core/Event.js index 7042d9c6..a944d404 100644 --- a/source/Ox.UI/js/Core/Event.js +++ b/source/Ox.UI/js/Core/Event.js @@ -114,7 +114,10 @@ resetTimeout = setTimeout(function() { keys = ''; }, 1000); - if (Ox.contains(keyboardCallbacks[0], event) || ( + if (( + keyboardCallbacks[0] + && Ox.contains(keyboardCallbacks[0], event) + ) || ( $element && keyboardCallbacks[$element.oxid] && Ox.contains(keyboardCallbacks[$element.oxid], event) )) {