forked from 0x2620/oxjs
Ox.elements -> Ox.
This commit is contained in:
parent
775aa607c8
commit
8e335ba4f6
8 changed files with 21 additions and 21 deletions
|
|
@ -10,7 +10,7 @@ Ox.Focus = (function() {
|
|||
|
||||
that = {
|
||||
focusedElement: function() {
|
||||
return Ox.elements[Ox.last(stack)];
|
||||
return Ox.$elements[Ox.last(stack)];
|
||||
},
|
||||
focusedElementIsInput: function() {
|
||||
var $element = that.focusedElement();
|
||||
|
|
@ -49,7 +49,7 @@ Ox.Focus = (function() {
|
|||
.removeClass('OxFocus')
|
||||
.triggerEvent('losefocus');
|
||||
if (stack.length) {
|
||||
Ox.elements[Ox.last(stack)]
|
||||
Ox.$elements[Ox.last(stack)]
|
||||
.addClass('OxFocus')
|
||||
.triggerEvent('gainfocus');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue