fix #559 (slow pad.ma home screen)

This commit is contained in:
rolux 2012-02-20 18:44:49 +00:00
parent e84a5a6ca9
commit dec34632b8

View file

@ -587,6 +587,11 @@ pandora.ui.home = function() {
that.showScreen = function() { that.showScreen = function() {
that.css({opacity: 1}).appendTo(Ox.UI.$body); that.css({opacity: 1}).appendTo(Ox.UI.$body);
$box.css({marginTop: '80px'});
that.find('*').css({opacity: 1});
$findInput.focusInput(true);
showLists();
/*
$box.animate({marginTop: '80px'}, 500); $box.animate({marginTop: '80px'}, 500);
setTimeout(function() { setTimeout(function() {
that.find('*').animate({opacity: 1}, 250, function() { that.find('*').animate({opacity: 1}, 250, function() {
@ -594,6 +599,7 @@ pandora.ui.home = function() {
showLists(); showLists();
}); });
}, 250); }, 250);
*/
return that; return that;
}; };