Refresh function for main frontend, separate main frontends for normal countdown and score+countdown
This commit is contained in:
parent
35a0785bf3
commit
e36a959071
9 changed files with 193 additions and 71 deletions
|
|
@ -12,4 +12,8 @@ socket.on('timerDurationLeft', (message) => {
|
|||
|
||||
socket.on('timerEnded', (message) => {
|
||||
document.getElementById("durationLeft").innerHTML = "ENDE"; // Display "STOP" in same html element as the duration
|
||||
});
|
||||
|
||||
socket.on('refresh', (message) => {
|
||||
document.location.reload() // Reload page on received 'refresh' messagen
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue