From cc1933dde47c1fa484c21f37a676625e01069351 Mon Sep 17 00:00:00 2001 From: Joshua Toepfer Date: Mon, 10 Oct 2022 16:28:09 +0200 Subject: [PATCH] set last timer as new default --- src/main/resources/templates/room.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/templates/room.html b/src/main/resources/templates/room.html index 80c1f50..c408d85 100644 --- a/src/main/resources/templates/room.html +++ b/src/main/resources/templates/room.html @@ -551,6 +551,8 @@
Integration with the mob tool
startTimer(localStorage.getItem('timer')); } function startTimer(timer) { + localStorage.setItem('timer', timer); + updateTimerButton(); sendTimer('timer', timer, localStorage.getItem('user')); } function updateTimerButton() { @@ -565,6 +567,8 @@
Integration with the mob tool
} function startBreaktimer(breaktimer) { + localStorage.setItem('breaktimer', breaktimer); + updateBreaktimerButton(); sendTimer('breaktimer', breaktimer, localStorage.getItem('user')); } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy