fix javascript errors

This commit is contained in:
Jakob Ketterl 2021-02-22 23:47:19 +01:00
parent 9beb3b9168
commit f8beae5f46

View File

@ -9,13 +9,8 @@ $.fn.gainInput = function() {
var $select = $container.find('select');
$select.on('change', function(e) {
var value = $(e.target).val()
var value = $(e.target).val();
update(value);
if (value == 'auto') {
$input.val('auto');
} else {
$input
}
});
update($select.val());
});