From 58f6c9901d3662bdd02dae005d8e92bd2a53c3ed Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 4 Mar 2015 10:18:13 +0000 Subject: [PATCH] dont try to set non existing nested key --- static/js/URL.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/URL.js b/static/js/URL.js index 1e4f7422..d5eac2da 100644 --- a/static/js/URL.js +++ b/static/js/URL.js @@ -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();