mirror of https://github.com/zulip/zulip.git
emoji_picker: Directly use $elt.
This commit is contained in:
parent
96a93339cd
commit
bab596e5b4
|
@ -675,8 +675,8 @@ export function toggle_emoji_popover(element, id, coming_from_actions_popover) {
|
|||
return;
|
||||
}
|
||||
|
||||
$(element).closest(".message_row").toggleClass("has_popover has_emoji_popover");
|
||||
const $elt = $(element);
|
||||
$elt.closest(".message_row").toggleClass("has_popover has_emoji_popover");
|
||||
if (id !== undefined) {
|
||||
message_lists.current.select_id(id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue