jquery selector: removed needless check in jQuery.sibling.
This commit is contained in:
parent
ec06b7213d
commit
42161a1e34
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue