mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-29 16:29:19 +02:00
fix volume
This commit is contained in:
+1
-1
@@ -134,7 +134,7 @@ function OnPlayButtonClick(_ev) {
|
||||
}
|
||||
|
||||
function updateVolume() {
|
||||
if(firefox) {
|
||||
if(!firefox) {
|
||||
const newVolume = $(this).val();
|
||||
if (Stream) Stream.setVolume(newVolume);
|
||||
else console.warn("Stream is not initialized.");
|
||||
|
||||
Reference in New Issue
Block a user