mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
web: Convert .data("stream-id") to .attr.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
bc9a7ef274
commit
455f8a9c53
@@ -253,7 +253,7 @@ export function initialize() {
|
||||
const $invite_row = $(event.target).parents(".main-view-banner");
|
||||
|
||||
const user_id = Number.parseInt($invite_row.data("user-id"), 10);
|
||||
const stream_id = Number.parseInt($invite_row.data("stream-id"), 10);
|
||||
const stream_id = Number($invite_row.attr("data-stream-id"));
|
||||
|
||||
function success() {
|
||||
$invite_row.remove();
|
||||
|
||||
Reference in New Issue
Block a user