1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-27 06:23:53 +01:00

last try on fixing bw toggle

This commit is contained in:
NoobishSVK
2024-03-24 20:03:10 +01:00
parent e0a963c3e4
commit 6580ed2fca

View File

@@ -230,7 +230,7 @@ function submitData() {
$("#device-type").val(selectedDevice.text());
}
$('#toggle-bw').is(":checked", data.bwSwitch || false);
$('#toggle-bw').is(":checked", data.bwSwitch ? data.bwSwitch : false);
$('#audio-devices').val(data.audio.audioDevice);
$('#audio-channels').val(data.audio.audioChannels);