diff options
| author | Alon Levy <alon@pobox.com> | 2015-05-10 11:51:47 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-05-10 11:51:47 +0300 |
| commit | 98d456d4252a65a0cff7634690235926f82b0d7f (patch) | |
| tree | 68289d49876bb62b9c8a24ca6e49ee0fa4752c1a /src | |
| parent | 661bd8508e753e436f7f677a7051e47423eeb762 (diff) | |
client: fix #552. don't remove parameters when rewriting url
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/rz_core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/rz_core.js b/src/client/rz_core.js index 3d30b220..51f7eaec 100644 --- a/src/client/rz_core.js +++ b/src/client/rz_core.js @@ -290,7 +290,7 @@ function rzdoc__open(rzdoc_name) { main_graph.load_from_backend(); get_search().clear(); main_graph_view.zen_mode__cancel(); - window.history.replaceState(null, page_title(rzdoc_name), url_for_doc(rzdoc_name)); + window.history.replaceState(null, page_title(rzdoc_name), url_for_doc(rzdoc_name) + location.search); var rzdoc_bar = $('#rzdoc-bar_doc-label'); var rzdoc_bar__doc_lable = $('#rzdoc-bar_doc-label'); |
