dont remove home screen on load of home page

This commit is contained in:
j 2012-01-02 19:58:50 +05:30
parent b38f4c6b5d
commit b3dded73a6
2 changed files with 4 additions and 2 deletions

View file

@ -269,7 +269,6 @@ appPanel
Ox.extend(pandora.user, { Ox.extend(pandora.user, {
sectionElement: 'buttons', sectionElement: 'buttons',
selectedMovies: [], // fixme: used for what?
videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats) videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats)
}); });

View file

@ -37,9 +37,12 @@ pandora.ui.appPanel = function() {
}); });
function setPage(page) { function setPage(page) {
if (page === '') { if (page === '') {
/*
if (pandora.$ui.home) { if (pandora.$ui.home) {
pandora.$ui.home.fadeOutScreen(); pandora.$ui.home.fadeOutScreen();
} else if (pandora.$ui.tv) { } else
*/
if (pandora.$ui.tv) {
pandora.$ui.tv.fadeOutScreen(); pandora.$ui.tv.fadeOutScreen();
} }
} else if (page == 'home') { } else if (page == 'home') {