Skip to content

Commit 3a5b4cb

Browse files
committed
jQuery.closest: Removed reference to deprecated context property
Fixes jquerygh-857 Closes jquerygh-874
1 parent fb8d4da commit 3a5b4cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entries/closest.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<desc>A string containing a selector expression to match elements against.</desc>
1515
</argument>
1616
<argument name="context" optional="true" type="Element">
17-
<desc>A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.</desc>
17+
<desc>A DOM element within which a matching element may be found.</desc>
1818
</argument>
1919
</signature>
2020
<signature>
@@ -166,7 +166,7 @@ $( document ).on( "click", function( event ) {
166166
<desc>An array or string containing a selector expression to match elements against (can also be a jQuery object).</desc>
167167
</argument>
168168
<argument name="context" optional="true" type="Element">
169-
<desc>A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.</desc>
169+
<desc>A DOM element within which a matching element may be found.</desc>
170170
</argument>
171171
</signature>
172172
<desc>Get an array of all the elements and selectors matched against the current element up through the DOM tree.</desc>

0 commit comments

Comments
 (0)