forked from 0x2620/pandora
allow data-name attribute in texts and use for navigation
This commit is contained in:
parent
7dde9eb8ae
commit
dca703a4ee
7 changed files with 61 additions and 27 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue