Commit 42161a1e authored by Ariel Flesler's avatar Ariel Flesler

jquery selector: removed needless check in jQuery.sibling.

parent ec06b721
......@@ -441,7 +441,7 @@ jQuery.extend({
var r = [];
for ( ; n; n = n.nextSibling ) {
if ( n.nodeType == 1 && (!elem || n != elem) )
if ( n.nodeType == 1 && n != elem )
r.push( n );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment