diff options
author | jeresig <jeresig@gmail.com> | 2010-10-10 15:14:23 -0400 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-10-10 15:14:23 -0400 |
commit | eb67d9941694d39a592228bc6da71def3e619b94 (patch) | |
tree | 36a2ac0b62a22541b549e06d4e470317081e76dd /src/traversing.js | |
parent | 1f7bbd8939d1238c91942c6f0d49f9944f8db635 (diff) | |
download | jquery-eb67d9941694d39a592228bc6da71def3e619b94.tar.gz jquery-eb67d9941694d39a592228bc6da71def3e619b94.zip |
Use the new Sizzle matches functionality.
Diffstat (limited to 'src/traversing.js')
-rw-r--r-- | src/traversing.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/traversing.js b/src/traversing.js index cfb344b9c..df431781a 100644 --- a/src/traversing.js +++ b/src/traversing.js @@ -106,7 +106,7 @@ jQuery.fn.extend({ var cur = this[i]; while ( cur ) { - if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { + if ( pos ? pos.index(cur) > -1 : jQuery.find.matches(selectors, cur) ) { ret.push( cur ); break; |