parent
db621dd8dd
commit
f12df1df85
1 changed files with 1 additions and 5 deletions
6
src/jquery/jquery.js
vendored
6
src/jquery/jquery.js
vendored
|
@ -1648,12 +1648,8 @@ jQuery.extend({
|
|||
">|/", "jQuery.sibling(a.firstChild)",
|
||||
"\\+", "jQuery.sibling(a).next",
|
||||
"~", function(a){
|
||||
var r = [];
|
||||
var s = jQuery.sibling(a);
|
||||
if ( s.n > 0 )
|
||||
for ( var i = s.n; i < s.length; i++ )
|
||||
r.push( s[i] );
|
||||
return r;
|
||||
return s.n >= 0 ? s.slice(s.n+1) : [];
|
||||
}
|
||||
],
|
||||
|
||||
|
|
Loading…
Reference in a new issue