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) {
|
that.api.init(getUserData(), function(result) {
|
||||||
var $div = Ox.UI.$body.find('div');
|
var $div = $('div');
|
||||||
Ox.UI.$body.find('img').remove();
|
$('img').remove();
|
||||||
$div.animate({
|
$div.animate({
|
||||||
opacity: 0
|
opacity: 0
|
||||||
}, 1000, function() {
|
}, 1000, function() {
|
||||||
|
|
|
@ -363,7 +363,7 @@ Provides function Ox.UI([options], callback) that fires when
|
||||||
$.getJSON(path + 'json/OxUI.json', function(data) {
|
$.getJSON(path + 'json/OxUI.json', function(data) {
|
||||||
|
|
||||||
var $head = $('head'),
|
var $head = $('head'),
|
||||||
promises = documentReady ? [] : [waitForDocument()];
|
promises = Ox.UI.$window ? [] : [waitForDocument()];
|
||||||
|
|
||||||
log('OxUI.json loaded.')
|
log('OxUI.json loaded.')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue