Skip to content

Commit

Permalink
Merge pull request #21508 from brave/use_args_as_array_for_apply
Browse files Browse the repository at this point in the history
Passed array-like object as an args for apply()
  • Loading branch information
simonhong authored Jan 9, 2024
2 parents a5dc7f5 + ca4f33d commit 29c4e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser/resources/settings/brave_overrides/iron_icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ RegisterPolymerPrototypeModification({
leoIcon.setAttribute('name', name ?? this.icon)
} else {
removeAllOfType('leo-icon')
_updateIcon.apply(this, ...args)
_updateIcon.apply(this, args)
}
}
}
Expand Down

0 comments on commit 29c4e03

Please sign in to comment.