diff --git a/web/src/user_card_popover.js b/web/src/user_card_popover.js index d92563dede..f84287eeee 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.hbs index fdeeafd833..2cbade76dd 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 @@ {{status_text}} {{#if is_me}} - ({{t "clear" }}) + ({{t "clear" }}) {{/if}}