load css
This commit is contained in:
parent
54f816c7eb
commit
502f7490ac
1 changed files with 8 additions and 6 deletions
|
@ -269,6 +269,7 @@ 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'});
|
||||||
|
loadCSS(function() {
|
||||||
that.css({opacity: 1}).appendTo(Ox.$body);
|
that.css({opacity: 1}).appendTo(Ox.$body);
|
||||||
that.find(':not(#logo)').css({opacity: 1});
|
that.find(':not(#logo)').css({opacity: 1});
|
||||||
$elements.animate({opacity: 1}, 500, function() {
|
$elements.animate({opacity: 1}, 500, function() {
|
||||||
|
@ -276,6 +277,7 @@ pandora.ui.home = function() {
|
||||||
callback();
|
callback();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
});
|
||||||
$findInput.focusInput(true);
|
$findInput.focusInput(true);
|
||||||
return that;
|
return that;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue