diff --git a/static/js/textPanel.js b/static/js/textPanel.js index 9ae27745f..9a8ab1b12 100644 --- a/static/js/textPanel.js +++ b/static/js/textPanel.js @@ -241,6 +241,11 @@ pandora.ui.textHTML = function(text) { scrolling = false; }, }) + .bindEvent({ + pandora_showsidebar: function(data) { + that.resize(); + }, + }) .bindEvent('pandora_texts.' + text.id.toLowerCase(), function(data) { data.value && data.value.name && scrollToPosition(); }),