Skip to content

Commit b8122df

Browse files
committed
removed comma in closest.xml
1 parent b37483b commit b8122df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entries/closest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</argument>
2929
</signature>
3030

31-
<desc>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.</desc>
31+
<desc>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.</desc>
3232
<longdesc><p>Given a jQuery object that represents a set of DOM elements, the <code>.closest()</code> method searches through these elements and their ancestors in the DOM tree and constructs a new jQuery object from the matching elements. The <a href="/parents/"><code>.parents()</code></a> and <code>.closest()</code> methods are similar in that they both traverse up the DOM tree. The differences between the two, though subtle, are significant:</p>
3333
<table>
3434
<thead>

0 commit comments

Comments
 (0)