diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2015-11-09 17:49:01 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2015-11-10 09:59:48 -0500 |
commit | 97d79ecf6b6c5cc3c1485eb3c46e12986a978f57 (patch) | |
tree | f11d3c106f8d7fcdb569686e22c4615e1867a908 /src | |
parent | 75b3cdd509a2cf0a704767d04557ec392112a438 (diff) | |
download | jquery-97d79ecf6b6c5cc3c1485eb3c46e12986a978f57.tar.gz jquery-97d79ecf6b6c5cc3c1485eb3c46e12986a978f57.zip |
Dimensions: Empty sets should return undefined
Ref gh-2319
Closes gh-2701
Diffstat (limited to 'src')
-rw-r--r-- | src/dimensions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dimensions.js b/src/dimensions.js index c5f49ac09..3d4dbff10 100644 --- a/src/dimensions.js +++ b/src/dimensions.js @@ -45,7 +45,7 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { // Set width or height on the element jQuery.style( elem, type, value, extra ); - }, type, chainable ? margin : undefined, chainable, null ); + }, type, chainable ? margin : undefined, chainable ); }; } ); } ); |