resize text after hiding/showing sidebar fixes #1926

This commit is contained in:
j 2013-11-10 22:50:06 +00:00
parent dca703a4ee
commit 59460cdb85

View file

@ -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();
}),