1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-07-04 06:10:18 +00:00

Fixing sliders not updating properly

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
This commit is contained in:
2020-08-26 21:49:39 +02:00
parent eec13e4934
commit 6506f6fe1c
9 changed files with 146 additions and 105 deletions

4
data/js/controls.js vendored
View File

@ -226,7 +226,7 @@ function start() {
};
var handleEvent = function (evt) {
//console.log(evt);
console.log(evt);
var data = JSON.parse(evt.data);
var e = document.body;
var center = "";
@ -750,7 +750,7 @@ function start() {
break;
case UPDATE_SLIDER:
slider_move($("#sl" + data.id), data.value, "100", false);
slider_move($("#id" + data.id), data.value, "100", false);
break;
case UPDATE_NUMBER: