1
0
Fork 0
forked from 0x2620/oxjs

add .data method to Ox.$, use in Ox.UI.getOxElement, don't use .attr in Ox.JQueryElement

This commit is contained in:
rolux 2013-12-06 21:54:26 +01:00
commit 6acd99d74f
3 changed files with 18 additions and 5 deletions

View file

@ -373,7 +373,7 @@ Ox.load.UI = function(options, callback) {
});
// ...
Ox.UI.getOxElement = function(element) {
return Ox.$elements[Ox.$(element).attr('data-oxid')];
return Ox.$elements[Ox.$(element).data('oxid')];
};
/*@
Ox.UI.hideLoadingScreen <f> hide loading screen