Skip to content

Commit

Permalink
Then your face will surely show it
Browse files Browse the repository at this point in the history
If you're happy and you know it, SyntaxError
  • Loading branch information
fregante authored Aug 20, 2024
1 parent 609219e commit f24e09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function getMatchingElement({target, selector, predicate}) {
return target.querySelector(selector);
}

for (const element of target.querySelectorAll(selector)} {
for (const element of target.querySelectorAll(selector)) {
if (predicate(element)) {
return element;
}
Expand Down

0 comments on commit f24e09e

Please sign in to comment.