mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
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:
@@ -60,6 +60,8 @@ function show_all_message_view() {
|
||||
narrow.activate([{operator: "in", operand: "home"}], {
|
||||
trigger: "hashchange",
|
||||
change_hash: false,
|
||||
then_select_id: history.state?.narrow_pointer,
|
||||
then_select_offset: history.state?.narrow_offset,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user