Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_card_popover: Fix clear link not working.
Aman Agrawal75aa91a39fa4
diff --git a/web/src/user_card_popover.js b/web/src/user_card_popover.jsindex d92563dede5..f84287eeee4 100644--- a/web/src/user_card_popover.js+++ b/web/src/user_card_popover.js@@ -680,7 +680,7 @@ function register_click_handlers() {e.preventDefault();});- $("body").on("click", ".user-card-popover-actions .personal-menu-clear-status", (e) => {+ $("body").on("click", ".user-card-popover-actions .user-card-clear-status-button", (e) => {e.preventDefault();const me = elem_to_user_id($(e.target).parents("ul"));user_status.server_update_status({diff --git a/web/templates/popovers/user_card/user_card_popover.hbs b/web/templates/popovers/user_card/user_card_popover.hbsindex fdeeafd8332..2cbade76ddb 100644--- a/web/templates/popovers/user_card/user_card_popover.hbs+++ b/web/templates/popovers/user_card/user_card_popover.hbs@@ -78,7 +78,7 @@<span class="status_text">{{status_text}}{{#if is_me}}- <span class="clear_status_button">(<a tabindex="0" class="clear_status">{{t "clear" }}</a>)</span>+ <span>(<a tabindex="0" class="user-card-clear-status-button">{{t "clear" }}</a>)</span>{{/if}}</span></span>