diff options
Diffstat (limited to 'src/traversing/findFilter.js')
-rw-r--r-- | src/traversing/findFilter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/traversing/findFilter.js b/src/traversing/findFilter.js index ee76a57a7..f3a929e53 100644 --- a/src/traversing/findFilter.js +++ b/src/traversing/findFilter.js @@ -33,7 +33,7 @@ function winnow( elements, qualifier, not ) { } return jQuery.grep( elements, function( elem ) { - return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + return ( indexOf.call( qualifier, elem ) > -1 ) !== not && elem.nodeType === 1; } ); } |