diff --git a/static/js/URL.js b/static/js/URL.js index 055a229d2..f9d86fc95 100644 --- a/static/js/URL.js +++ b/static/js/URL.js @@ -65,7 +65,7 @@ pandora.URL = (function() { : [] ); } 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; if (textState.name) {