2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

fhemweb_iconSwitch.js: show correct value when reading is changed by set/setreading, thanks to beaune https://forum.fhem.de/index.php?msg=1307914

git-svn-id: https://svn.fhem.de/fhem/trunk@28688 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Ellert 2024-03-20 18:15:20 +00:00
parent b9cc52da0a
commit 6cbd862c65

View File

@ -133,6 +133,7 @@ FW_iconSwitchCreate(elName, devName, vArr, currVal, set, params, cmd)
$(newEl).find("label").attr("style","border-style:solid; background-color:#f6f6f6; background-image:none;font-size: inherit;"); $(newEl).find("label").attr("style","border-style:solid; background-color:#f6f6f6; background-image:none;font-size: inherit;");
} }
} }
currVal = arg; /********* beaune *********/
button.button("refresh"); button.button("refresh");
}; };