Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

search: Drop typeahead lookup when reopening search after narrow.

Pratik Chanda8e1ab31c8182
diff --git a/web/src/search.ts b/web/src/search.ts
index 4a8b10078df..6ecfb9aa2f8 100644
--- a/web/src/search.ts
+++ b/web/src/search.ts
@@ -144,7 +144,6 @@ function narrow_to_search_contents_with_search_bar_open(): void {
if ($(".navbar-search.expanded").length === 0) {
open_search_bar_and_close_narrow_description();
focus_search_input_at_end();
- search_typeahead.lookup(false);
search_input_has_changed = true;
}
}