core: Fixed #2600: jQuery.extend no longer skips over null properties.
This commit is contained in:
parent
87758bbe69
commit
35c68b4578
2 changed files with 13 additions and 3 deletions
|
@ -587,7 +587,7 @@ jQuery.extend = jQuery.fn.extend = function() {
|
|||
target[ name ] = jQuery.extend( deep, src, copy );
|
||||
|
||||
// Don't bring in undefined values
|
||||
else if ( copy != undefined )
|
||||
else if ( copy !== undefined )
|
||||
target[ name ] = copy;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue