This commit is contained in:
j 2019-12-01 16:05:02 +01:00
parent 54f816c7eb
commit 502f7490ac

View file

@ -269,12 +269,14 @@ pandora.ui.home = function() {
that.showScreen = function(callback) { that.showScreen = function(callback) {
var $elements = that.find(':not(.logo)'), count = 0; var $elements = that.find(':not(.logo)'), count = 0;
$logo.css({width: '320px'}); $logo.css({width: '320px'});
that.css({opacity: 1}).appendTo(Ox.$body); loadCSS(function() {
that.find(':not(#logo)').css({opacity: 1}); that.css({opacity: 1}).appendTo(Ox.$body);
$elements.animate({opacity: 1}, 500, function() { that.find(':not(#logo)').css({opacity: 1});
if (callback && ++count == $elements.length) { $elements.animate({opacity: 1}, 500, function() {
callback(); if (callback && ++count == $elements.length) {
} callback();
}
});
}); });
$findInput.focusInput(true); $findInput.focusInput(true);
return that; return that;