mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
js: Skip redundant jQuery object reconstruction.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
33c790e2fc
commit
b0dba411d9
@@ -493,8 +493,8 @@ export function initialize() {
|
||||
|
||||
const $invite_row = $(event.target).parents(".compose_invite_user");
|
||||
|
||||
const user_id = Number.parseInt($($invite_row).data("user-id"), 10);
|
||||
const stream_id = Number.parseInt($($invite_row).data("stream-id"), 10);
|
||||
const user_id = Number.parseInt($invite_row.data("user-id"), 10);
|
||||
const stream_id = Number.parseInt($invite_row.data("stream-id"), 10);
|
||||
|
||||
function success() {
|
||||
const $all_invites = $("#compose_invite_users");
|
||||
|
||||
Reference in New Issue
Block a user