Commit da76a723 authored by Ariel Flesler's avatar Ariel Flesler

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

parent afc2ebde
...@@ -774,7 +774,7 @@ jQuery.extend({ ...@@ -774,7 +774,7 @@ jQuery.extend({
""; "";
}, },
// internal only, use is(".class") // internal only, use hasClass("class")
has: function( elem, className ) { has: function( elem, className ) {
return jQuery.inArray( className, (elem.className || elem).toString().split(/\s+/) ) > -1; return jQuery.inArray( className, (elem.className || elem).toString().split(/\s+/) ) > -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment