forked from 0x2620/pandora
dont pass view for texts, call URL.replace if setting textPositions
This commit is contained in:
parent
d006f6195e
commit
798b26d61b
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,6 @@ pandora.URL = (function() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else if (pandora.user.ui.section == 'texts') {
|
} else if (pandora.user.ui.section == 'texts') {
|
||||||
state.view = 'text';
|
|
||||||
var position = pandora.user.ui.textPositions[pandora.user.ui.text];
|
var position = pandora.user.ui.textPositions[pandora.user.ui.text];
|
||||||
if (position) {
|
if (position) {
|
||||||
state.span = position;
|
state.span = position;
|
||||||
|
@ -429,7 +428,8 @@ pandora.URL = (function() {
|
||||||
'listColumnWidth', 'listColumns', 'listSelection',
|
'listColumnWidth', 'listColumns', 'listSelection',
|
||||||
'mapFind', 'mapSelection'
|
'mapFind', 'mapSelection'
|
||||||
].indexOf(key) > -1
|
].indexOf(key) > -1
|
||||||
|| /^videoPoints/.test(key);
|
|| /^videoPoints/.test(key)
|
||||||
|
|| /^textPositions/.test(key);
|
||||||
})
|
})
|
||||||
) {
|
) {
|
||||||
action = 'replace';
|
action = 'replace';
|
||||||
|
|
Loading…
Reference in a new issue