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:
parent
94b5c5307d
commit
6acd99d74f
3 changed files with 18 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue