resize text after hiding/showing sidebar fixes #1926
This commit is contained in:
parent
dca703a4ee
commit
59460cdb85
1 changed files with 5 additions and 0 deletions
|
@ -241,6 +241,11 @@ pandora.ui.textHTML = function(text) {
|
||||||
scrolling = false;
|
scrolling = false;
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
.bindEvent({
|
||||||
|
pandora_showsidebar: function(data) {
|
||||||
|
that.resize();
|
||||||
|
},
|
||||||
|
})
|
||||||
.bindEvent('pandora_texts.' + text.id.toLowerCase(), function(data) {
|
.bindEvent('pandora_texts.' + text.id.toLowerCase(), function(data) {
|
||||||
data.value && data.value.name && scrollToPosition();
|
data.value && data.value.name && scrollToPosition();
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue