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

Fix issue where grouped sliders are moved programatically.

This commit is contained in:
Ian Gray
2022-02-16 21:10:16 +00:00
parent ab5ac2dc1d
commit c63537a358
3 changed files with 6 additions and 5 deletions

2
data/js/controls.js vendored
View File

@ -514,7 +514,7 @@ function start() {
case UPDATE_SLIDER:
$("#sl" + data.id).attr("value", data.value)
slider_move($("#id" + data.id), data.value, "100", false);
slider_move($("#sl" + data.id).parent().parent(), data.value, "100", false);
if(data.hasOwnProperty('elementStyle')) {
$("#sl" + data.id).attr("style", data.elementStyle);
}