dont try to set non existing nested key
This commit is contained in:
parent
1022e3debf
commit
58f6c9901d
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ pandora.URL = (function() {
|
|||
set['part.' + state.page] = state.part;
|
||||
}
|
||||
if (state.span) {
|
||||
set['documents.' + state.part + '.position'] = state.span;
|
||||
set['documents.' + state.part] = {position: state.span};
|
||||
}
|
||||
pandora.UI.set(set);
|
||||
callback && callback();
|
||||
|
|
Loading…
Reference in a new issue