mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
Remove searchbar from narrowed view.
Today I'm of the mindset that searching is a fundamentally distinct operation than narrowing, so this reflects that. (There would be a separate screen and UI for searching, I guess.) (imported from commit 432a4088612dafd06184bec228b63056961325dd)
This commit is contained in:
@@ -372,7 +372,7 @@ function do_narrow(description, filter_function) {
|
||||
scroll_to_selected();
|
||||
|
||||
$("#show_all_messages").removeAttr("disabled");
|
||||
$("div.searchbox").show();
|
||||
$("div.narrowbox").show();
|
||||
$("#currently_narrowed_to").html(description);
|
||||
}
|
||||
|
||||
@@ -444,7 +444,7 @@ function show_all_messages() {
|
||||
|
||||
scroll_to_selected();
|
||||
|
||||
$("div.searchbox").hide();
|
||||
$("div.narrowbox").hide();
|
||||
$("#show_all_messages").attr("disabled", "disabled");
|
||||
$("#currently_narrowed_to").html("");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user