This commit is contained in:
rolux 2012-11-03 17:37:36 +01:00
parent 65cd5b8afa
commit cacd1e147f

View file

@ -31,7 +31,7 @@ Ox.Keyboard = (function() {
} }
}); });
key = keyNames.join('_'); key = keyNames.join('_');
if (focused !== null || !$focused.hasClass('OxInput')) { if (focused === null || !$focused.hasClass('OxInput')) {
bound.forEach(function(id) { bound.forEach(function(id) {
Ox.UI.elements[id].triggerEvent('key_' + key); Ox.UI.elements[id].triggerEvent('key_' + key);
}); });