Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
pm_list_item: Convert pm_user_status to a class.
Aman Agrawal05674f3ab5f9
diff --git a/web/src/click_handlers.js b/web/src/click_handlers.jsindex b9cf7f9589c..24435dc6ae2 100644--- a/web/src/click_handlers.js+++ b/web/src/click_handlers.js@@ -539,7 +539,7 @@ export function initialize() {});// PM LIST TOOLTIPS- $("body").on("mouseenter", "#pm_user_status", (e) => {+ $("body").on("mouseenter", ".pm_user_status", (e) => {e.stopPropagation();const $elem = $(e.currentTarget);const user_ids_string = $elem.attr("data-user-ids-string");diff --git a/web/templates/pm_list_item.hbs b/web/templates/pm_list_item.hbsindex 5ec4821e6e3..408d573ee2b 100644--- a/web/templates/pm_list_item.hbs+++ b/web/templates/pm_list_item.hbs@@ -1,5 +1,5 @@<li class='{{#if is_active}}active-sub-filter{{/if}} {{#if is_zero}}zero-pm-unreads{{/if}} pm-list-item bottom_left_row' data-user-ids-string='{{user_ids_string}}'>- <span class='pm-box' id='pm_user_status' data-user-ids-string='{{user_ids_string}}' data-is-group='{{is_group}}'>+ <span class='pm-box pm_user_status' data-user-ids-string='{{user_ids_string}}' data-is-group='{{is_group}}'><div class="pm_left_col">{{#if is_group}}