Fixed previous() in docs
This commit is contained in:
parent
4b3b2c1f42
commit
fc351ba279
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> ]
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue