mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
emoji_picker: Directly use $elt.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user