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: Go to stream narrow on stream cell click.

pilgrim23082cc96d981eb0
diff --git a/static/js/click_handlers.js b/static/js/click_handlers.js
index b69cd903507..7e3bc166546 100644
--- a/static/js/click_handlers.js
+++ b/static/js/click_handlers.js
@@ -457,6 +457,11 @@ export function initialize() {
recent_topics.update_filters_view();
});
+ $("body").on("click", "td.recent_topic_stream", (e) => {
+ e.stopPropagation();
+ window.location.href = $(e.currentTarget).find("a").attr("href");
+ });
+
$("body").on("click", "td.recent_topic_name", (e) => {
e.stopPropagation();
window.location.href = $(e.currentTarget).find("a").attr("href");