X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=4a05ee537f68fb89258929a711ce69dff286f313;hb=d3d7d7ebff2e1fc6a1e8ea9a620a7560ff71ef1a;hp=ee65edbb1f8dd857b43d55a4ec69b82cfbe16bee;hpb=ea283bd13130303271077a6ee8b14b7c79bd0ce4;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index ee65edb..4a05ee5 100644 --- a/src/jquery/jquery.js +++ b/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){