diff --git a/static/js/pandora/home.js b/static/js/pandora/home.js index 4d10d03c..0fef1542 100644 --- a/static/js/pandora/home.js +++ b/static/js/pandora/home.js @@ -137,7 +137,9 @@ pandora.ui.home = function() { }) .bindEvent({ click: function() { - pandora.UI.set({page: pandora.user.ui.page}); + pandora.UI.set({ + page: pandora.user.ui.page == 'home' ? '' : pandora.user.ui.page + }); that.fadeOutScreen(); } }) diff --git a/static/js/pandora/home.padma.js b/static/js/pandora/home.padma.js index 0b40f561..e49fe090 100644 --- a/static/js/pandora/home.padma.js +++ b/static/js/pandora/home.padma.js @@ -145,7 +145,9 @@ pandora.ui.home = function() { }) .bindEvent({ click: function() { - pandora.UI.set({page: pandora.user.ui.page}); + pandora.UI.set({ + page: pandora.user.ui.page == 'home' ? '' : pandora.user.ui.page + }); that.fadeOutScreen(); } })