mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-31 13:50:36 +01:00
fix javascript errors
This commit is contained in:
parent
9beb3b9168
commit
f8beae5f46
|
|
@ -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());
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue