mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
Remove duplication between do_narrow and select_zephyr
(imported from commit 84c3e5a0d5682fd8790bd6e277e05e54a47d9aac)
This commit is contained in:
@@ -286,10 +286,7 @@ function do_narrow(target_zephyr, description, filter_function) {
|
||||
current_view($(this))
|
||||
});
|
||||
|
||||
$("#selected").closest("td").empty();
|
||||
$("#" + target_zephyr).children("td:first").html(tag_for_selected);
|
||||
$.post("update", {pointer: target_zephyr});
|
||||
|
||||
select_zephyr(target_zephyr);
|
||||
scroll_to_selected();
|
||||
|
||||
$("#unhide").removeAttr("disabled");
|
||||
|
||||
Reference in New Issue
Block a user