Removed loadInfo() in animated staircase.

pull/2425/head
Blaž Kristan 2021-12-14 10:35:50 +01:00
rodzic 7d5e2466f0
commit 28556790d6
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -508,10 +508,10 @@ class Animated_Staircase : public Usermod {
JsonArray usermodEnabled = staircase.createNestedArray(F("Staircase")); // name
String btn = F("<button class=\"btn infobtn\" onclick=\"requestJson({staircase:{enabled:");
if (enabled) {
btn += F("false}},false,false);loadInfo();\">");
btn += F("false}});\">");
btn += F("enabled");
} else {
btn += F("true}},false,false);loadInfo();\">");
btn += F("true}});\">");
btn += F("disabled");
}
btn += F("</button>");