Skip to content
Permalink
Browse files

Fixed .next() and .prev().

  • Loading branch information
jeresig committed Jan 9, 2007
1 parent 694bece commit 609dec9a78ac98e69b67a73989d8437f67c6d33a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/jquery/jquery.js
@@ -1818,8 +1818,8 @@ new function() {
jQuery.each({
parent: "a.parentNode",
parents: "jQuery.parents(a)",
next: "jQuery.nth(a,1,'nextSibling')",
prev: "jQuery.nth(a,1,'previousSibling')",
next: "jQuery.nth(a,2,'nextSibling')",
prev: "jQuery.nth(a,2,'previousSibling')",
siblings: "jQuery.sibling(a.parentNode.firstChild,a)",
children: "jQuery.sibling(a.firstChild)"
}, function(i,n){

0 comments on commit 609dec9

Please sign in to comment.
You can’t perform that action at this time.