mirror of https://github.com/zulip/zulip.git
hashchange: Restore pointer state for combined feed view.
Now, user can use browser back button to go their last selected message in combined feed view.
This commit is contained in:
parent
24f47e8993
commit
439091998d
|
@ -60,6 +60,8 @@ function show_all_message_view() {
|
||||||
narrow.activate([{operator: "in", operand: "home"}], {
|
narrow.activate([{operator: "in", operand: "home"}], {
|
||||||
trigger: "hashchange",
|
trigger: "hashchange",
|
||||||
change_hash: false,
|
change_hash: false,
|
||||||
|
then_select_id: history.state?.narrow_pointer,
|
||||||
|
then_select_offset: history.state?.narrow_offset,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue