Skip to content
Permalink
Browse files

Use the new Sizzle matches functionality.

  • Loading branch information...
jeresig committed Oct 10, 2010
1 parent 1f7bbd8 commit eb67d9941694d39a592228bc6da71def3e619b94
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit eb67d99

Please sign in to comment.
You can’t perform that action at this time.