Permalink
Browse files

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.
  • Loading branch information...
1 parent f9ea869 commit 5430c540dfedf1a64558d5f55f668904ee787817 @mgol mgol committed with mgol May 29, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/attributes/attr.js
@@ -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() ] ||

0 comments on commit 5430c54

Please sign in to comment.