From 99d965eb6877bd8efb6f0aaa114220491f63f03b Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Tue, 26 Nov 2024 18:14:24 -0700 Subject: [PATCH] Fix looping animation --- www/player.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/player.mjs b/www/player.mjs index 802806c..895d9e4 100644 --- a/www/player.mjs +++ b/www/player.mjs @@ -37,6 +37,7 @@ export class Player { stop() { if (this.loop_id) { clearInterval(this.loop_id) + this.loop_id = null } } @@ -49,7 +50,7 @@ export class Player { () => { this.start() }, - 2 * Second, + 4 * Second, ) return }