X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=4a05ee537f68fb89258929a711ce69dff286f313;hb=d3d7d7ebff2e1fc6a1e8ea9a620a7560ff71ef1a;hp=4fb7f8e75b86a147be99c51b9833206eec61705c;hpb=76d6d445bb68009c010e0b91dbf21747bc2d35ba;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 4fb7f8e..4a05ee5 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1817,9 +1817,9 @@ new function() { */ jQuery.each({ parent: "a.parentNode", - parents: jQuery.parents, - next: "jQuery.nth(a,1,'nextSibling')", - prev: "jQuery.nth(a,1,'previousSibling')", + parents: "jQuery.parents(a)", + 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){