diff options
Diffstat (limited to 'npm_assets/node_modules/jquery/src/css.js')
| -rw-r--r-- | npm_assets/node_modules/jquery/src/css.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npm_assets/node_modules/jquery/src/css.js b/npm_assets/node_modules/jquery/src/css.js index a7a7061..a41cc2c 100644 --- a/npm_assets/node_modules/jquery/src/css.js +++ b/npm_assets/node_modules/jquery/src/css.js @@ -370,10 +370,10 @@ jQuery.each( [ "height", "width" ], function( _i, dimension ) { // Running getBoundingClientRect on a disconnected node // in IE throws an error. ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? - swap( elem, cssShow, function() { - return getWidthOrHeight( elem, dimension, extra ); - } ) : - getWidthOrHeight( elem, dimension, extra ); + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); } }, @@ -432,7 +432,7 @@ jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, swap( elem, { marginLeft: 0 }, function() { return elem.getBoundingClientRect().left; } ) - ) + "px"; + ) + "px"; } } ); |
