Skip to content

Commit

Permalink
Resolution of bug of label size computation
Browse files Browse the repository at this point in the history
  • Loading branch information
jls2933 committed Jul 4, 2013
1 parent ae5043e commit 79f0f34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jquery.selectBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@
var labelWidth =
control.width()
- arrow.outerWidth()
- parseInt(label.css('paddingLeft')) || 0
- parseInt(label.css('paddingRight')) || 0;
- (parseInt(label.css('paddingLeft')) || 0)
- (parseInt(label.css('paddingRight')) || 0);

label.width(labelWidth);
this.disableSelection(control);
Expand Down Expand Up @@ -1088,4 +1088,4 @@
return $(this);
}
});
})(jQuery);
})(jQuery);

0 comments on commit 79f0f34

Please sign in to comment.