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 da76a723e14c037d59e830bb0d01b0b627286020
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core.js
@@ -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.
You can’t perform that action at this time.