mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 16:24:57 -05:00
No ticket: minor 1.x/2.x code standardization
This commit is contained in:
@@ -354,7 +354,7 @@ jQuery.extend({
|
||||
|
||||
// Boolean attributes get special treatment (#10870)
|
||||
if ( jQuery.expr.match.boolean.test( name ) ) {
|
||||
// Set corresponding property to false for boolean attributes
|
||||
// Set corresponding property to false
|
||||
if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) {
|
||||
elem[ propName ] = false;
|
||||
// Support: IE<9
|
||||
|
||||
Reference in New Issue
Block a user