Added websockts for admin interface
This commit is contained in:
parent
536c1272d8
commit
b7cf1e4d9a
4 changed files with 34 additions and 6 deletions
|
|
@ -11,5 +11,5 @@ socket.on('timerDurationLeft', (message) => {
|
|||
});
|
||||
|
||||
socket.on('timerEnded', (message) => {
|
||||
document.getElementById("durationLeft").innerHTML = "STOP"; // Display "STOP" in same html element as the duration
|
||||
document.getElementById("durationLeft").innerHTML = "ENDE"; // Display "STOP" in same html element as the duration
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue