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.

recent_topics: Clear search box on show.

Palash Baderia92f085c571d5
diff --git a/static/js/recent_topics_ui.js b/static/js/recent_topics_ui.js
index ddf22adc24d..9bcf021eae2 100644
--- a/static/js/recent_topics_ui.js
+++ b/static/js/recent_topics_ui.js
@@ -32,6 +32,7 @@ import {
is_visible,
set_visible,
} from "./recent_topics_util";
+import * as search from "./search";
import * as stream_data from "./stream_data";
import * as stream_list from "./stream_list";
import * as sub_store from "./sub_store";
@@ -874,6 +875,7 @@ export function show() {
message_view_header.render_title_area();
narrow.handle_middle_pane_transition();
pm_list.handle_narrow_deactivated();
+ search.clear_search_form();
complete_rerender();
}