Fixed previous() in docs
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 27 Oct 2006 15:15:44 +0000 (15:15 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 27 Oct 2006 15:15:44 +0000 (15:15 +0000)
src/jquery/jquery.js

index 03db89c..76f0f0e 100644 (file)
@@ -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> ]
                 *