fix #559 (slow pad.ma home screen)
This commit is contained in:
parent
e84a5a6ca9
commit
dec34632b8
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue