Skip to content

Commit

Permalink
Docs: Fix an incorrect comment in the attributes module
Browse files Browse the repository at this point in the history
Attributes are no longer always treated as lowercase, although hooks for
them are. This commit fixes a no longer correct comment.
  • Loading branch information
mgol committed Jun 3, 2016
1 parent f9ea869 commit 5430c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attributes/attr.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() ] ||
Expand Down

0 comments on commit 5430c54

Please sign in to comment.