Skip to content
Permalink
Browse files
jquery core: updating a comment, thanks to Scott for spotting it.
  • Loading branch information
flesler committed May 16, 2008
1 parent afc2ebd commit da76a72
Showing 1 changed file with 1 addition and 1 deletion.
@@ -774,7 +774,7 @@ jQuery.extend({
"";
},

// internal only, use is(".class")
// internal only, use hasClass("class")
has: function( elem, className ) {
return jQuery.inArray( className, (elem.className || elem).toString().split(/\s+/) ) > -1;
}

0 comments on commit da76a72

Please sign in to comment.