mirror of https://github.com/zulip/zulip.git
narrow: Remove not required call to save_narrow.
Since we always call `deactivate` from `hashchange`, `browser_history.state.changing_hash` is always `true` and hence `save_narrow` just retuns without doing anything.
This commit is contained in:
parent
eaafaba482
commit
adedc0283f
|
@ -1118,7 +1118,6 @@ export function deactivate() {
|
||||||
|
|
||||||
reset_ui_state();
|
reset_ui_state();
|
||||||
compose_recipient.handle_middle_pane_transition();
|
compose_recipient.handle_middle_pane_transition();
|
||||||
save_narrow();
|
|
||||||
|
|
||||||
if (message_lists.current.selected_id() !== -1) {
|
if (message_lists.current.selected_id() !== -1) {
|
||||||
const preserve_pre_narrowing_screen_position =
|
const preserve_pre_narrowing_screen_position =
|
||||||
|
|
Loading…
Reference in New Issue