diff --git a/pandora/config.0xdb.jsonc b/pandora/config.0xdb.jsonc index 7b278334..8b39c6a9 100644 --- a/pandora/config.0xdb.jsonc +++ b/pandora/config.0xdb.jsonc @@ -815,7 +815,6 @@ "showBrowser": true, "showCalendarControls": true, // fixme: should be false "showFilters": true, - "showHome": true, "showIconBrowser": false, "showInfo": true, "showLayers": { diff --git a/pandora/config.indiancinema.jsonc b/pandora/config.indiancinema.jsonc index 4ffb54c3..519993df 100644 --- a/pandora/config.indiancinema.jsonc +++ b/pandora/config.indiancinema.jsonc @@ -825,7 +825,6 @@ "showBrowser": true, "showCalendarControls": true, // fixme: should be false "showFilters": true, - "showHome": true, "showIconBrowser": false, "showInfo": true, "showLayers": { diff --git a/pandora/config.padma.jsonc b/pandora/config.padma.jsonc index e6b2e710..1a29fb0c 100644 --- a/pandora/config.padma.jsonc +++ b/pandora/config.padma.jsonc @@ -704,7 +704,6 @@ "showBrowser": true, "showCalendarControls": true, // fixme: should be false "showFilters": true, - "showHome": true, "showIconBrowser": false, "showInfo": true, "showLayers": { diff --git a/pandora/config.pandora.jsonc b/pandora/config.pandora.jsonc index 5919811e..efdc4ac8 100644 --- a/pandora/config.pandora.jsonc +++ b/pandora/config.pandora.jsonc @@ -623,7 +623,6 @@ "showBrowser": true, "showCalendarControls": true, // fixme: should be false "showFilters": true, - "showHome": true, "showIconBrowser": false, "showInfo": true, "showLayers": { diff --git a/static/js/pandora/URL.js b/static/js/pandora/URL.js index ff0724c7..0df68e09 100644 --- a/static/js/pandora/URL.js +++ b/static/js/pandora/URL.js @@ -90,9 +90,6 @@ pandora.URL = (function() { if (Ox.isEmpty(state)) { - if (pandora.user.ui.showHome && pandora.user.ui.page != 'home') { - pandora.$ui.home = pandora.ui.home().showScreen(); - } callback && callback(); } else { @@ -226,8 +223,6 @@ pandora.URL = (function() { } - pandora.user.ui.showHome = false; - } that.init = function() { diff --git a/static/js/pandora/appPanel.js b/static/js/pandora/appPanel.js index 7f12ddab..d8560c37 100644 --- a/static/js/pandora/appPanel.js +++ b/static/js/pandora/appPanel.js @@ -47,8 +47,11 @@ pandora.ui.appPanel = function() { api: ['api'] }; if (page === '') { - if (pandora.$ui.home && pandora.$ui.appPanel) { - // unless we're on page load, remove home screen + if (!pandora.$ui.appPanel) { + // if we're on page load, show home screen + pandora.$ui.home = pandora.ui.home().showScreen(); + } else { + // otherwise, remove home screen pandora.$ui.home.fadeOutScreen(); } Ox.forEach(dialogPages, function(pages, dialog) {