forked from 0x2620/pandora
update UI and URL controllers (text position)
This commit is contained in:
parent
d044138d43
commit
4f5bb21a21
2 changed files with 12 additions and 1 deletions
|
|
@ -65,7 +65,9 @@ pandora.URL = (function() {
|
|||
: []
|
||||
);
|
||||
} else if (pandora.user.ui.section == 'texts') {
|
||||
var position = pandora.user.ui.texts[pandora.user.ui.text].position;
|
||||
var position = pandora.user.ui.texts[state.text]
|
||||
? pandora.user.ui.texts[state.text].position
|
||||
: 0;
|
||||
if (position) {
|
||||
state.span = position;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue