mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fixed .next() and .prev().
This commit is contained in:
parent
694becea38
commit
609dec9a78
4
src/jquery/jquery.js
vendored
4
src/jquery/jquery.js
vendored
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user