dont try to set non existing nested key

This commit is contained in:
j 2015-03-04 10:18:13 +00:00
parent 1022e3debf
commit 58f6c9901d

View file

@ -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();