Filtering elements only. Fixed #5920

This commit is contained in:
Robert Katic 2010-01-25 01:19:46 +08:00 committed by John Resig
parent ca90ffb332
commit 55a64cf095

View file

@ -24,7 +24,7 @@ var winnow = function( elements, qualifier, keep ) {
if ( isSimple.test( qualifier ) ) { if ( isSimple.test( qualifier ) ) {
return jQuery.filter(qualifier, filtered, !keep); return jQuery.filter(qualifier, filtered, !keep);
} else { } else {
qualifier = jQuery.filter( qualifier, elements ); qualifier = jQuery.filter( qualifier, filtered );
} }
} }