forked from 0x2620/oxjs
trailing comma removal,
This commit is contained in:
parent
61e05f4f86
commit
68d50978ba
44 changed files with 87 additions and 87 deletions
|
|
@ -168,7 +168,7 @@ Ox.ArrayInput = function(options, self) {
|
|||
self.$element.forEach(function($element, i) {
|
||||
$element.data({index: i});
|
||||
self.$removeButton[i].options({
|
||||
title: self.$element.length == 1 ? 'close' : 'remove',
|
||||
title: self.$element.length == 1 ? 'close' : 'remove'
|
||||
});
|
||||
self.$addButton[i].options({
|
||||
disabled: self.$element.length == self.options.max
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue