Skip to content

Commit da76a72

Browse files
committed
jquery core: updating a comment, thanks to Scott for spotting it.
1 parent afc2ebd commit da76a72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ jQuery.extend({
774774
"";
775775
},
776776

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

0 commit comments

Comments
 (0)