cosmetic changes
This commit is contained in:
parent
9fef3ccb67
commit
600cbc877b
1 changed files with 1 additions and 2 deletions
|
@ -54,7 +54,6 @@ Ox.ArrayInput = function(options, self) {
|
||||||
self.options.value = getValue();
|
self.options.value = getValue();
|
||||||
|
|
||||||
function addInput(index, value, focus) {
|
function addInput(index, value, focus) {
|
||||||
Ox.Log('Form', 'add', index)
|
|
||||||
self.$element.splice(index, 0, Ox.Element()
|
self.$element.splice(index, 0, Ox.Element()
|
||||||
.css({
|
.css({
|
||||||
height: '16px',
|
height: '16px',
|
||||||
|
@ -153,7 +152,7 @@ Ox.ArrayInput = function(options, self) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function setWidths() {
|
function setWidths() {
|
||||||
self.$label && self.$label.options({width: self.options.width})
|
self.$label && self.$label.options({width: self.options.width});
|
||||||
self.$element.forEach(function($element, i) {
|
self.$element.forEach(function($element, i) {
|
||||||
$element.css({width: self.options.width + 'px'});
|
$element.css({width: self.options.width + 'px'});
|
||||||
self.$input[i].options({width: self.options.width - 48});
|
self.$input[i].options({width: self.options.width - 48});
|
||||||
|
|
Loading…
Reference in a new issue