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