Added websockts for admin interface
This commit is contained in:
@@ -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
|
||||
});
|
||||
Reference in New Issue
Block a user