mirror of https://github.com/zulip/zulip.git
Fix bug in scroll_to_zephyr removal.
(imported from commit 4aca6534889012fd1b0e59dc88a156494b6ec51f)
This commit is contained in:
parent
6369da671b
commit
8506656df1
|
@ -210,8 +210,7 @@ function narrow_personals(target_zephyr) {
|
|||
$("#" + target_zephyr).children("td:first").html(selected_tag);
|
||||
$.post("update", {pointer: target_zephyr});
|
||||
|
||||
// Try to keep the zephyr in the same place on the screen after narrowing.
|
||||
scroll_to_zephyr(target_zephyr, old_top);
|
||||
scroll_to_selected()
|
||||
|
||||
$("#unhide").removeAttr("disabled");
|
||||
$("#narrow_indicator").html("Showing personals");
|
||||
|
|
Loading…
Reference in New Issue