allow data-name attribute in texts and use for navigation

This commit is contained in:
j 2013-11-10 22:01:25 +00:00
commit dca703a4ee
7 changed files with 61 additions and 27 deletions

View file

@ -67,7 +67,6 @@ pandora.URL = (function() {
} else if (pandora.user.ui.section == 'texts') {
var textState = pandora.user.ui.texts[state.item] || {},
position = textState.position || 0;
if (textState.name) {
state.span = textState.name;
} else if (position) {