diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2016-05-29 23:08:37 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2016-06-03 11:51:33 +0200 |
commit | 5430c540dfedf1a64558d5f55f668904ee787817 (patch) | |
tree | 4485dcc27df113d06b9a2d5a3d1472a907c0625e /src | |
parent | f9ea869ab5e887dad28088f6b477fa2ecac747a9 (diff) | |
download | jquery-5430c540dfedf1a64558d5f55f668904ee787817.tar.gz jquery-5430c540dfedf1a64558d5f55f668904ee787817.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/attributes/attr.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attributes/attr.js b/src/attributes/attr.js index 0e4e3b225..af9b3d09b 100644 --- a/src/attributes/attr.js +++ b/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() ] || |