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:
4
data/js/controls.js
vendored
4
data/js/controls.js
vendored
@ -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) {
|
||||
|
Reference in New Issue
Block a user