Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
search: Always select search bar text when initiating search.
Evy Kassireraa8d3a0c6cc5
diff --git a/web/src/search.js b/web/src/search.jsindex 518f72e1a3e..f60079fbe0b 100644--- a/web/src/search.js+++ b/web/src/search.js@@ -183,13 +183,7 @@ export function initiate_search() {// Open the typeahead after opening the search bar, so that we don't// get a weird visual jump where the typeahead results are narrow// before the search bar expands and then wider it expands.- if (!$("#searchbox .dropdown-menu").is(":visible")) {- $("#search_query").typeahead("lookup");- }-- if (!search_bar_already_open) {- $("#search_query").typeahead("lookup").trigger("select");- }+ $("#search_query").typeahead("lookup").trigger("select");}export function clear_search_form() {