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: Remove unnecessary export of narrow_or_search_for_term.

evykassirerec0ef35f3c9f
diff --git a/web/src/search.js b/web/src/search.js
index 242a1a728f4..1d70ec1425c 100644
--- a/web/src/search.js
+++ b/web/src/search.js
@@ -11,7 +11,7 @@ import * as search_suggestion from "./search_suggestion";
// Exported for unit testing
export let is_using_input_method = false;
-export function narrow_or_search_for_term(search_string, {on_narrow_search}) {
+function narrow_or_search_for_term(search_string, {on_narrow_search}) {
if (search_string === "") {
exit_search({keep_search_narrow_open: true});
return "";