diff --git a/src/components/Pomodoro.vue b/src/components/Pomodoro.vue index 2f612a2..f5dff77 100644 --- a/src/components/Pomodoro.vue +++ b/src/components/Pomodoro.vue @@ -163,7 +163,7 @@ export default { } this.prettyTime(); expected += interval; - this.timeout = setTimeout(stepFunc, Math.max(0, interval - dt)); + this.timeout = setTimeout(this.countDownTimer, Math.max(0, interval - dt)); } this.timeout = setTimeout(stepFunc, interval) }