From 55a64cf095b295d334010c6e0a00863f307caffa Mon Sep 17 00:00:00 2001 From: Robert Katic Date: Mon, 25 Jan 2010 01:19:46 +0800 Subject: [PATCH] Filtering elements only. Fixed #5920 --- src/traversing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } } -- 2.39.5