more inputs that can display errors

This commit is contained in:
Jakob Ketterl
2021-03-25 15:02:59 +01:00
parent 69237c0bb4
commit 20cd3f6efe
2 changed files with 11 additions and 7 deletions

View File

@ -45,7 +45,6 @@ $.fn.wsjtDecodingDepthsInput = function() {
};
$table.on('change', updateValue);
$el.append($table);
var $addButton = $('<button type="button" class="btn btn-sm btn-primary">Add...</button>');
$addButton.on('click', function() {
@ -63,6 +62,7 @@ $.fn.wsjtDecodingDepthsInput = function() {
updateValue();
return false;
});
$el.append($addButton);
$input.after($table, $addButton);
});
};