textState might be undefined
This commit is contained in:
parent
bb91922e1a
commit
3f4b1b3d63
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ pandora.URL = (function() {
|
||||||
: []
|
: []
|
||||||
);
|
);
|
||||||
} else if (pandora.user.ui.section == 'texts') {
|
} else if (pandora.user.ui.section == 'texts') {
|
||||||
var textState = pandora.user.ui.texts[state.item],
|
var textState = pandora.user.ui.texts[state.item] || {},
|
||||||
position = textState.position || 0;
|
position = textState.position || 0;
|
||||||
|
|
||||||
if (textState.name) {
|
if (textState.name) {
|
||||||
|
|
Loading…
Reference in a new issue