summaryrefslogtreecommitdiff
path: root/ext/js/display/display-audio.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/display/display-audio.js')
-rw-r--r--ext/js/display/display-audio.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/js/display/display-audio.js b/ext/js/display/display-audio.js
index 3beeca97..7b481034 100644
--- a/ext/js/display/display-audio.js
+++ b/ext/js/display/display-audio.js
@@ -187,8 +187,9 @@ class DisplayAudio {
_onFrameVisibilityChange({value}) {
if (!value) {
+ // The auto-play timer is stopped, but any audio that has already started playing
+ // is not stopped, as this is a valid use case for some users.
this.clearAutoPlayTimer();
- this.stopAudio();
}
}