diff --git a/static/js/pandora/mainPanel.js b/static/js/pandora/mainPanel.js index 67e0f1a1..1f9e5f90 100644 --- a/static/js/pandora/mainPanel.js +++ b/static/js/pandora/mainPanel.js @@ -58,7 +58,11 @@ pandora.ui.mainPanel = function() { } }); } else { - that.replaceElement(1, pandora.$ui.rightPanel = pandora.ui.rightPanel()); + if (pandora.stayInItemView) { + pandora.stayInItemView = false; + } else { + that.replaceElement(1, pandora.$ui.rightPanel = pandora.ui.rightPanel()); + } } }, pandora_item: function(data) {