diff --git a/source/Ox.UI/js/Core/Keyboard.js b/source/Ox.UI/js/Core/Keyboard.js index 58cdd230..469f7920 100644 --- a/source/Ox.UI/js/Core/Keyboard.js +++ b/source/Ox.UI/js/Core/Keyboard.js @@ -31,7 +31,7 @@ Ox.Keyboard = (function() { } }); key = keyNames.join('_'); - if (focused !== null || !$focused.hasClass('OxInput')) { + if (focused === null || !$focused.hasClass('OxInput')) { bound.forEach(function(id) { Ox.UI.elements[id].triggerEvent('key_' + key); });