diff options
-rw-r--r-- | src/attributes.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/attributes.js b/src/attributes.js index ac94081c6..af1660fa6 100644 --- a/src/attributes.js +++ b/src/attributes.js @@ -317,8 +317,7 @@ jQuery.extend({ if ( !hooks ) { // Use boolHook for boolean attributes - if ( rboolean.test( name ) && - (typeof value === "boolean" || value === undefined || value.toLowerCase() === name.toLowerCase()) ) { + if ( rboolean.test( name ) ) { hooks = boolHook; |