cosmetic changes

This commit is contained in:
rolux 2015-02-13 09:10:17 +00:00
parent 9fef3ccb67
commit 600cbc877b

View file

@ -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});