Skip to content

Commit

Permalink
Fixed .next() and .prev().
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Jan 9, 2007
1 parent 694bece commit 609dec9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jquery/jquery.js
Expand Up @@ -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){
Expand Down

0 comments on commit 609dec9

Please sign in to comment.