From b3dded73a6300a8026cb20fafe8f0a0569f6e3a7 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 2 Jan 2012 19:58:50 +0530 Subject: [PATCH] dont remove home screen on load of home page --- static/js/pandora.js | 1 - static/js/pandora/appPanel.js | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index a747faf53..4d7c6d952 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -269,7 +269,6 @@ appPanel Ox.extend(pandora.user, { sectionElement: 'buttons', - selectedMovies: [], // fixme: used for what? videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats) }); diff --git a/static/js/pandora/appPanel.js b/static/js/pandora/appPanel.js index fda6eebee..37ac0424c 100644 --- a/static/js/pandora/appPanel.js +++ b/static/js/pandora/appPanel.js @@ -37,9 +37,12 @@ pandora.ui.appPanel = function() { }); function setPage(page) { if (page === '') { + /* if (pandora.$ui.home) { pandora.$ui.home.fadeOutScreen(); - } else if (pandora.$ui.tv) { + } else + */ + if (pandora.$ui.tv) { pandora.$ui.tv.fadeOutScreen(); } } else if (page == 'home') {