mirror of https://github.com/zulip/zulip.git
user_card_popover: Fix clear link not working.
Incorrectly migrated in 87c87ed41f
.
This commit is contained in:
parent
3f1cc1b69d
commit
75aa91a39f
|
@ -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({
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue