mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
stream_list: Don't toggle channel search on header click.
Soon we'll make multiple channel sections and have them toggle open or closed when clicking the header.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user