1
0
Fork 0
forked from 0x2620/oxjs

Ox.elements -> Ox.

This commit is contained in:
rlx 2014-09-25 18:47:29 +02:00
commit 8e335ba4f6
8 changed files with 21 additions and 21 deletions

View file

@ -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');
}