Skip to content
Snippets Groups Projects
Commit 7c08d2e0 authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

always show 'Konec'

parent 731fc050
No related branches found
No related tags found
1 merge request!9Release
Pipeline #15168 passed
...@@ -62,6 +62,11 @@ const updateTimer = (data, options) => { ...@@ -62,6 +62,11 @@ const updateTimer = (data, options) => {
} }
} }
if (minutes === 0 && seconds === 0) {
// Let an event listener handle the timer ending.
return
}
console.info(`Updating timer: ${minutes}:${seconds}, used to be ${timerValues.minutes}:${timerValues.seconds}`) console.info(`Updating timer: ${minutes}:${seconds}, used to be ${timerValues.minutes}:${timerValues.seconds}`)
window.startingTime = { window.startingTime = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment