Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
recent_view_ui: Change event target to avoid Tippy collision.
Daniil Fadeevc961ff2665be
diff --git a/web/src/recent_view_ui.js b/web/src/recent_view_ui.jsindex 4b96e67b81a..beb8c79f11b 100644--- a/web/src/recent_view_ui.js+++ b/web/src/recent_view_ui.js@@ -1297,8 +1297,8 @@ export function initialize() {filters = new Set(ls.get(ls_key));}- $("body").on("click", "#recent_view_table .participant_profile", function (e) {- const participant_user_id = Number.parseInt($(this).attr("data-user-id"), 10);+ $("body").on("click", "#recent_view_table .recent_view_participant_avatar", function (e) {+ const participant_user_id = Number.parseInt($(this).parent().attr("data-user-id"), 10);e.stopPropagation();const user = people.get_by_user_id(participant_user_id);user_card_popover.toggle_user_card_popover(this, user);