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.

stream_list: Don't toggle channel search on header click.

Evy Kassirer0ba4c9cb6cc8
diff --git a/web/src/stream_list.ts b/web/src/stream_list.ts
index f209f304157..573adafb030 100644
--- a/web/src/stream_list.ts
+++ b/web/src/stream_list.ts
@@ -1051,19 +1051,6 @@ export function set_event_handlers({
});
});
- $("#streams_header")
- .expectOne()
- .on("click", (e) => {
- e.preventDefault();
- if (
- e.target.id === "streams_inline_icon" ||
- $(e.target).parent().hasClass("input-close-filter-button")
- ) {
- return;
- }
- toggle_filter_displayed(e);
- });
-
function toggle_pm_header_icon(): void {
if (pm_list.is_private_messages_collapsed()) {
return;