1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

hotfix for audio quality selector

This commit is contained in:
NoobishSVK
2024-02-04 17:20:23 +01:00
parent c848bef002
commit 0ef3f33ba6

View File

@@ -179,7 +179,9 @@ function submitData() {
const audioChannels = ($('.options .option').filter(function() {
return $(this).text() === $('#audio-channels').val();
}).data('value') || 2);
const audioBitrate = $('#audio-quality').val() || '192k';
const audioBitrate = ($('.options .option').filter(function() {
return $(this).text() === $('#audio-quality').val();
}).data('value') || "192k");
const tunerName = $('#webserver-name').val() || 'FM Tuner';
const tunerDesc = $('#webserver-desc').val() || 'Default FM tuner description';