minor cleanup
This commit is contained in:
parent
b2eaf6a867
commit
c8cdcc92c0
1 changed files with 5 additions and 2 deletions
|
@ -67,8 +67,11 @@ Ox.InputGroup = function(options, self) {
|
||||||
})
|
})
|
||||||
.css({
|
.css({
|
||||||
marginLeft: -Ox.sum(self.options.inputs.map(function($input, i_) {
|
marginLeft: -Ox.sum(self.options.inputs.map(function($input, i_) {
|
||||||
return i_ > i ? self.options.inputs[i_ - 1].options('width') +
|
return i_ > i
|
||||||
self.options.separators[i_ - 1].width : (i_ == i ? 16 : 0);
|
? self.options.inputs[i_ - 1].options('width')
|
||||||
|
+ self.options.separators[i_ - 1].width
|
||||||
|
: i_ == i ? 16
|
||||||
|
: 0;
|
||||||
})) + 'px'
|
})) + 'px'
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
|
|
Loading…
Reference in a new issue