diff --git a/static/js/home.bakma.js b/static/js/home.bakma.js index b3a28c2..906aaf1 100644 --- a/static/js/home.bakma.js +++ b/static/js/home.bakma.js @@ -217,7 +217,11 @@ pandora.ui.home = function() { .bindEvent({ click: function() { var value = "tr" - pandora.UI.set({locale: value}); + pandora.UI.set({ + locale: value, + page: pandora.user.ui.page == 'home' ? '' : pandora.user.ui.page, + section: 'items' + }); pandora.setLocale(value, () => { pandora.$ui.appPanel.reload() that.fadeOutScreen(); @@ -235,7 +239,11 @@ pandora.ui.home = function() { .bindEvent({ click: function() { var value = "en" - pandora.UI.set({locale: value}); + pandora.UI.set({ + locale: value, + page: pandora.user.ui.page == 'home' ? '' : pandora.user.ui.page, + section: 'items' + }); pandora.setLocale(value, () => { pandora.$ui.appPanel.reload() that.fadeOutScreen();