jquery selector: removed needless check in jQuery.sibling.

This commit is contained in:
Ariel Flesler 2008-05-02 14:03:02 +00:00
parent ec06b7213d
commit 42161a1e34

View file

@ -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 );
}