diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-03-29 10:17:40 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-03-29 10:17:40 -0400 |
commit | cd29170ae02b4a7eb290848f8523244c621e2893 (patch) | |
tree | c33271c64bbab4265b4fe087e4de074cba0e9a4c /ui/jquery.ui.core.js | |
parent | 2197c61f1f91a7b5046fb994d370f38ded602ee6 (diff) | |
download | jquery-ui-cd29170ae02b4a7eb290848f8523244c621e2893.tar.gz jquery-ui-cd29170ae02b4a7eb290848f8523244c621e2893.zip |
Core: Fixed spacing.
Diffstat (limited to 'ui/jquery.ui.core.js')
-rw-r--r-- | ui/jquery.ui.core.js | 6 |
1 files changed, 3 insertions, 3 deletions
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; |