mirror of https://github.com/zulip/zulip.git
Save the original initial_pointer when updating it on reload.
(imported from commit 1fe4332282e521240d3a24428f3f7c318233258a)
This commit is contained in:
parent
e24c770738
commit
f6b7aed0c9
|
@ -85,6 +85,7 @@ $(function () {
|
||||||
var pointer = parseInt(vars.pointer, 10);
|
var pointer = parseInt(vars.pointer, 10);
|
||||||
|
|
||||||
if (pointer) {
|
if (pointer) {
|
||||||
|
page_params.orig_initial_pointer = page_params.initial_pointer;
|
||||||
page_params.initial_pointer = pointer;
|
page_params.initial_pointer = pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue