From 5430c540dfedf1a64558d5f55f668904ee787817 Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski Date: Sun, 29 May 2016 23:08:37 +0200 Subject: 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. --- src/attributes/attr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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() ] || -- cgit v1.2.3