fix oxui loader
This commit is contained in:
parent
876673b59d
commit
4d3c7143a5
2 changed files with 3 additions and 3 deletions
|
@ -79,8 +79,8 @@ Ox.App = (function() {
|
|||
};
|
||||
});
|
||||
that.api.init(getUserData(), function(result) {
|
||||
var $div = Ox.UI.$body.find('div');
|
||||
Ox.UI.$body.find('img').remove();
|
||||
var $div = $('div');
|
||||
$('img').remove();
|
||||
$div.animate({
|
||||
opacity: 0
|
||||
}, 1000, function() {
|
||||
|
|
|
@ -363,7 +363,7 @@ Provides function Ox.UI([options], callback) that fires when
|
|||
$.getJSON(path + 'json/OxUI.json', function(data) {
|
||||
|
||||
var $head = $('head'),
|
||||
promises = documentReady ? [] : [waitForDocument()];
|
||||
promises = Ox.UI.$window ? [] : [waitForDocument()];
|
||||
|
||||
log('OxUI.json loaded.')
|
||||
|
||||
|
|
Loading…
Reference in a new issue