Docs: Fix an incorrect comment in the attributes module

Attributes are no longer always treated as lowercase, although hooks for
them are. This commit fixes a no longer correct comment.
This commit is contained in:
Michał Gołębiowski
2016-05-29 23:08:37 +02:00
committed by Michał Gołębiowski
parent f9ea869ab5
commit 5430c540df

View File

@@ -38,7 +38,7 @@ jQuery.extend( {
return jQuery.prop( elem, name, value );
}
// All attributes are lowercase
// Attribute hooks are determined by the lowercase version
// Grab necessary hook if one is defined
if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {
hooks = jQuery.attrHooks[ name.toLowerCase() ] ||