From: Scott González Date: Tue, 29 Mar 2011 14:17:40 +0000 (-0400) Subject: Core: Fixed spacing. X-Git-Tag: 1.9m5~160 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cd29170ae02b4a7eb290848f8523244c621e2893;p=jquery-ui.git Core: Fixed spacing. --- diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js index 9745419dc..51f6b71d7 100644 --- a/ui/jquery.ui.core.js +++ b/ui/jquery.ui.core.js @@ -141,12 +141,12 @@ $.each( [ "Width", "Height" ], function( i, name ) { function reduce( elem, size, border, margin ) { $.each( side, function() { - size -= parseFloat( $.curCSS( elem, "padding" + this, true) ) || 0; + size -= parseFloat( $.curCSS( elem, "padding" + this, true ) ) || 0; if ( border ) { - size -= parseFloat( $.curCSS( elem, "border" + this + "Width", true) ) || 0; + size -= parseFloat( $.curCSS( elem, "border" + this + "Width", true ) ) || 0; } if ( margin ) { - size -= parseFloat( $.curCSS( elem, "margin" + this, true) ) || 0; + size -= parseFloat( $.curCSS( elem, "margin" + this, true ) ) || 0; } }); return size;