forked from 0x2620/oxjs
fix a bug where 'global' keyboard events would trigger while an input element has focus
This commit is contained in:
parent
7761b9dea4
commit
90eaf97fec
2 changed files with 11 additions and 9 deletions
|
|
@ -19,7 +19,7 @@ Ox.JQueryElement = function($element) {
|
|||
that.ox = Ox.VERSION;
|
||||
//@ $element <object> The jQuery-wrapped DOM element
|
||||
that.$element = $element.data({
|
||||
oxid: that.id // FIXME: Can this be just "id"?
|
||||
oxid: that.id
|
||||
});
|
||||
// FIXME: the following two lines should make it possible to do
|
||||
// $('<div>').appendTo($element) ... check if it works, then replace all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue