jquery selector: removed needless check in jQuery.sibling.
This commit is contained in:
parent
ec06b7213d
commit
42161a1e34
|
@ -441,7 +441,7 @@ jQuery.extend({
|
||||||
var r = [];
|
var r = [];
|
||||||
|
|
||||||
for ( ; n; n = n.nextSibling ) {
|
for ( ; n; n = n.nextSibling ) {
|
||||||
if ( n.nodeType == 1 && (!elem || n != elem) )
|
if ( n.nodeType == 1 && n != elem )
|
||||||
r.push( n );
|
r.push( n );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue