Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
recent_conversation: Delegate profile click handling to `body`.
Aman Agrawalcc96be2bf90d
diff --git a/static/js/recent_topics_ui.js b/static/js/recent_topics_ui.jsindex f9c26db5065..dac3a22d199 100644--- a/static/js/recent_topics_ui.js+++ b/static/js/recent_topics_ui.js@@ -1216,7 +1216,7 @@ export function initialize() {filters = new Set(ls.get(ls_key));}- $("#recent_topics_table").on("click", ".participant_profile", function (e) {+ $("body").on("click", "#recent_topics_table .participant_profile", function (e) {const participant_user_id = Number.parseInt($(this).attr("data-user-id"), 10);e.stopPropagation();const user = people.get_by_user_id(participant_user_id);