diff options
Diffstat (limited to 'frontend/site/audio/audio.player.js')
| -rw-r--r-- | frontend/site/audio/audio.player.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/site/audio/audio.player.js b/frontend/site/audio/audio.player.js index 9914cd6..17edeee 100644 --- a/frontend/site/audio/audio.player.js +++ b/frontend/site/audio/audio.player.js @@ -118,7 +118,11 @@ class Player { } handleEnded() { - this.release() + if (this.type === 'background') { + this.restart() + } else { + this.release() + } } play() { |
