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: Use more specific classname for click handler.

evykassirerf29f1299aa95
diff --git a/web/src/stream_list.ts b/web/src/stream_list.ts
index 7a0035632d6..be7357960f8 100644
--- a/web/src/stream_list.ts
+++ b/web/src/stream_list.ts
@@ -860,7 +860,7 @@ export function set_event_handlers({
e.preventDefault();
e.stopPropagation();
- const stream_id = stream_id_for_elt($(e.target).parents("li"));
+ const stream_id = stream_id_for_elt($(e.target).parents("li.narrow-filter"));
const current_narrow_stream_id = narrow_state.stream_id();
const current_topic = narrow_state.topic();