Skip to content

Commit cd29170

Browse files
committed
Core: Fixed spacing.
1 parent 2197c61 commit cd29170

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/jquery.ui.core.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ $.each( [ "Width", "Height" ], function( i, name ) {
141141

142142
function reduce( elem, size, border, margin ) {
143143
$.each( side, function() {
144-
size -= parseFloat( $.curCSS( elem, "padding" + this, true) ) || 0;
144+
size -= parseFloat( $.curCSS( elem, "padding" + this, true ) ) || 0;
145145
if ( border ) {
146-
size -= parseFloat( $.curCSS( elem, "border" + this + "Width", true) ) || 0;
146+
size -= parseFloat( $.curCSS( elem, "border" + this + "Width", true ) ) || 0;
147147
}
148148
if ( margin ) {
149-
size -= parseFloat( $.curCSS( elem, "margin" + this, true) ) || 0;
149+
size -= parseFloat( $.curCSS( elem, "margin" + this, true ) ) || 0;
150150
}
151151
});
152152
return size;

0 commit comments

Comments
 (0)