jquery core: updating a comment, thanks to Scott for spotting it.

This commit is contained in:
Ariel Flesler 2008-05-16 16:41:12 +00:00
parent afc2ebde14
commit da76a723e1

View File

@ -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;
}