mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-30 00:39:16 +02:00
debug
This commit is contained in:
+4
-1
@@ -348,7 +348,10 @@
|
||||
if (audioElement) {
|
||||
const volume = parseFloat($('#volumeSlider').val());
|
||||
audioElement.volume = Number.isFinite(volume) ? volume : 1;
|
||||
}
|
||||
|
||||
// Kuba's patches, not techkrzysiek code
|
||||
if(!Number.isFinite(volume)) logWebRTCDebug("Volume is not finite.");
|
||||
} else logWebRTCDebug("audioElement not initialized.")
|
||||
}
|
||||
|
||||
function initVolumeControl() {
|
||||
|
||||
Reference in New Issue
Block a user