Skip to content

Commit c36f49b

Browse files
authored
Merge pull request #1764 from drank/master
Fixed a typo in the description of the 'closest' method
2 parents edc9c31 + 44972f4 commit c36f49b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ Get or set the option.
555555

556556

557557

558-
##### closest(el:`String`[, selector:`HTMLElement`]):`HTMLElement|null`
558+
##### closest(el:`HTMLElement`[, selector:`String`]):`HTMLElement|null`
559559
For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
560560

561561

0 commit comments

Comments
 (0)