only scroll if text is selected
This commit is contained in:
parent
104292cba8
commit
b270424a14
1 changed files with 2 additions and 1 deletions
|
@ -312,7 +312,8 @@ pandora.ui.textHTML = function(text) {
|
||||||
})
|
})
|
||||||
.appendTo($content);
|
.appendTo($content);
|
||||||
|
|
||||||
scrollTo(pandora.user.ui.texts[pandora.user.ui.text].position || 0);
|
pandora.user.ui.texts[pandora.user.ui.text] &&
|
||||||
|
scrollTo(pandora.user.ui.texts[pandora.user.ui.text].position || 0);
|
||||||
|
|
||||||
function getHeight() {
|
function getHeight() {
|
||||||
// 24 menu + 24 toolbar + 16 statusbar + 32 title + 32 margins
|
// 24 menu + 24 toolbar + 16 statusbar + 32 title + 32 margins
|
||||||
|
|
Loading…
Reference in a new issue