forked from 0x2620/pandora
only scroll if we have position
This commit is contained in:
parent
4fff8b0ddb
commit
acb50e0752
1 changed files with 2 additions and 1 deletions
|
@ -338,6 +338,7 @@ pandora.ui.textHTML = function(text) {
|
|||
}).css({
|
||||
width: getWidth() + 'px'
|
||||
});
|
||||
pandora.user.ui.texts[pandora.user.ui.text] &&
|
||||
scrollTo(pandora.user.ui.texts[pandora.user.ui.text].position || 0);
|
||||
return that;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue