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

Correct call to elementHTML

This commit is contained in:
Ian Gray
2022-01-15 21:44:53 +00:00
parent fed603e219
commit bc6e2bb8af
3 changed files with 4 additions and 4 deletions

2
data/js/controls.js vendored
View File

@ -716,7 +716,7 @@ var addToHTML = function(data) {
case UI_ACCEL:
html = "<div id='id" + data.id + "' " + panelStyle + " class='two columns " + panelwide + " card tcenter " +
colorClass(data.color) + "'><h5>" + data.label + "</h5><hr/>" +
elementHTML(data.type, data.id, data.value, elementStyle) +
elementHTML(data.type, data.id, data.value, data.label, elementStyle) +
"</div>";
break;
case UI_SEPARATOR: