aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-03-29 10:17:40 -0400
committerScott González <scott.gonzalez@gmail.com>2011-03-29 10:17:40 -0400
commitcd29170ae02b4a7eb290848f8523244c621e2893 (patch)
treec33271c64bbab4265b4fe087e4de074cba0e9a4c
parent2197c61f1f91a7b5046fb994d370f38ded602ee6 (diff)
downloadjquery-ui-cd29170ae02b4a7eb290848f8523244c621e2893.tar.gz
jquery-ui-cd29170ae02b4a7eb290848f8523244c621e2893.zip
Core: Fixed spacing.
-rw-r--r--ui/jquery.ui.core.js6
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;