fix typeerror when setting volume; fix processing of volume updates in client-side webinterface

This commit is contained in:
Daniel Gunzinger
2020-04-16 19:36:14 +02:00
committed by Terry Geng
parent f95e07c9af
commit 08c76aab9d
2 changed files with 2 additions and 2 deletions

View File

@ -724,7 +724,7 @@
$("#random-btn").removeClass("btn-primary").addClass("btn-secondary").prop("disabled", false);
$("#autoplay-btn").removeClass("btn-secondary").addClass("btn-primary").prop("disabled", true);
}
$("#volume-slider").value = volume;
document.getElementById("volume-slider").value = Math.round(volume*100);
}
function themeInit(){