Skip to content
Snippets Groups Projects
Commit 82ce3f8f authored by Alexa Valentová's avatar Alexa Valentová
Browse files

allow 1+ hour timers

parent 1e1841ac
No related branches found
No related tags found
1 merge request!9Release
Pipeline #17102 passed
......@@ -199,9 +199,7 @@ $(window).ready(
$("#pause_play").on(
"click",
(event) => {
const timeValues = window.timer.getTimeValues()
if (timeValues.minutes == 0 && timeValues.seconds == 0) {
if (window.timer.getTotalTimeValues().seconds === 0) {
alertify.error("Prosím, nastav čas.")
return
......
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