mirror of
https://github.com/jquery/jquery.git
synced 2026-01-24 21:48:00 -05:00
Fixed previous() in docs
This commit is contained in:
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
@@ -3096,7 +3096,7 @@ jQuery.macros = {
|
||||
*
|
||||
* It only returns the immediately previous sibling, not all previous siblings.
|
||||
*
|
||||
* @example $("p").previous(".selected")
|
||||
* @example $("p").prev(".selected")
|
||||
* @before <div><span>Hello</span></div><p class="selected">Hello Again</p><p>And Again</p>
|
||||
* @result [ <div><span>Hello</span></div> ]
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user