Skip to content

Commit

Permalink
Update ESPUI.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ericBcreator authored Oct 1, 2020
1 parent acaf689 commit 57a81db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ESPUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,10 @@ void onWsEvent(
ESPUI.updateControl(c, client->id());
c->callback(c, T_VALUE);
}
else if (msg.startsWith("tabvalue:"))
{
c->callback(c, client->id());
}
else if (msg.startsWith(F("svalue:")))
{
c->value = msg.substring(msg.indexOf(':') + 1, msg.lastIndexOf(':'));
Expand Down

0 comments on commit 57a81db

Please sign in to comment.