mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-30 16:59:15 +02:00
hotfix for audio quality selector
This commit is contained in:
+3
-1
@@ -179,7 +179,9 @@ function submitData() {
|
|||||||
const audioChannels = ($('.options .option').filter(function() {
|
const audioChannels = ($('.options .option').filter(function() {
|
||||||
return $(this).text() === $('#audio-channels').val();
|
return $(this).text() === $('#audio-channels').val();
|
||||||
}).data('value') || 2);
|
}).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 tunerName = $('#webserver-name').val() || 'FM Tuner';
|
||||||
const tunerDesc = $('#webserver-desc').val() || 'Default FM tuner description';
|
const tunerDesc = $('#webserver-desc').val() || 'Default FM tuner description';
|
||||||
|
|||||||
Reference in New Issue
Block a user