Skip to content
Permalink
Browse files

Fix for #310 and #395

  • Loading branch information
brandonaaron committed Nov 15, 2006
1 parent db621dd commit f12df1df853d9ddabe45164f03c811ba01b6bfd2
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/jquery/jquery.js
@@ -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) : [];
}
],

0 comments on commit f12df1d

Please sign in to comment.
You can’t perform that action at this time.