aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/ts/timer.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/ts/timer.ts')
-rw-r--r--frontend/ts/timer.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/ts/timer.ts b/frontend/ts/timer.ts
index db70356..013d498 100644
--- a/frontend/ts/timer.ts
+++ b/frontend/ts/timer.ts
@@ -25,6 +25,7 @@ export default class Timer {
this.divTimer.innerHTML = secondsElapsed.toString();
}
}
+
stop(): void {
this.divTimer.innerHTML = '';
clearInterval(this.interval);