1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-07-04 11:20:19 +00:00

Fix bug with sliders getting out of sync.

This commit is contained in:
Ian Gray
2022-01-15 14:29:38 +00:00
parent 9eddf2c504
commit 12a3fb6c80
3 changed files with 7 additions and 3 deletions

4
data/js/controls.js vendored
View File

@ -591,6 +591,10 @@ function start() {
function sliderchange(number) {
var val = $("#sl" + number).val();
websock.send("slvalue:" + val + ":" + number);
$(".range-slider__range").each(function(){
$(this).attr("value", $(this)[0].value);
});
}
function numberchange(number) {