]> source.dussan.org Git - jquery.git/commitdiff
Filtering elements only. Fixed #5920
authorRobert Katic <robert.katic@gmail.com>
Sun, 24 Jan 2010 17:19:46 +0000 (01:19 +0800)
committerJohn Resig <jeresig@gmail.com>
Mon, 25 Jan 2010 23:51:44 +0000 (07:51 +0800)
src/traversing.js

index bf17b8ad8d59cc16a861d8fb792554b72843e58d..a99dfdf1c7b157a0ac8ce3e2c7a7db8f7bee7eae 100644 (file)
@@ -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 );
                }
        }