diff options
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 08c95ec4a..2e45aade7 100644 --- a/src/traversing.js +++ b/src/traversing.js @@ -54,7 +54,7 @@ jQuery.fn.extend({ }, has: function( target ) { - var targets = jQuery( target ); + var targets = jQuery( target, this ); return this.filter(function() { for ( var i = 0, l = targets.length; i < l; i++ ) { if ( jQuery.contains( this, targets[i] ) ) { |