mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$(element).closest(".message_row").toggleClass("has_popover has_emoji_popover");
|
|
||||||
const $elt = $(element);
|
const $elt = $(element);
|
||||||
|
$elt.closest(".message_row").toggleClass("has_popover has_emoji_popover");
|
||||||
if (id !== undefined) {
|
if (id !== undefined) {
|
||||||
message_lists.current.select_id(id);
|
message_lists.current.select_id(id);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user