fix oxui loader

This commit is contained in:
rolux 2011-04-23 20:26:35 +02:00
parent 876673b59d
commit 4d3c7143a5
2 changed files with 3 additions and 3 deletions

View file

@ -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() {

View file

@ -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.')