mirror of
https://github.com/jquery/jquery.git
synced 2026-01-31 16:07:59 -05:00
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:
committed by
Michał Gołębiowski
parent
f9ea869ab5
commit
5430c540df
@@ -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() ] ||
|
||||
|
||||
Reference in New Issue
Block a user