From: Robert Katic Date: Sun, 24 Jan 2010 17:19:46 +0000 (+0800) Subject: Filtering elements only. Fixed #5920 X-Git-Tag: 1.4.1~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=55a64cf095b295d334010c6e0a00863f307caffa;p=jquery.git Filtering elements only. Fixed #5920 --- diff --git a/src/traversing.js b/src/traversing.js index bf17b8ad8..a99dfdf1c 100644 --- a/src/traversing.js +++ b/src/traversing.js @@ -24,7 +24,7 @@ var winnow = function( elements, qualifier, keep ) { if ( isSimple.test( qualifier ) ) { return jQuery.filter(qualifier, filtered, !keep); } else { - qualifier = jQuery.filter( qualifier, elements ); + qualifier = jQuery.filter( qualifier, filtered ); } }