CM94 - Build popup after 25min idle

This commit is contained in:
“VeLiTi”
2025-03-12 15:32:46 +01:00
parent b812647b60
commit a8563dc28d

View File

@@ -106,6 +106,10 @@ echo '
display.textContent = minutes + ":" + seconds;
if (timer === 60) {
// Show a popup when the timer reaches 60 seconds
alert("'.($message_build ?? 'Please login again').'");
}
if (--timer < 0) {
timer = duration;
}