summaryrefslogtreecommitdiff
path: root/ext/js/display/display-audio.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-08-10 19:23:05 -0400
committerGitHub <noreply@github.com>2021-08-10 19:23:05 -0400
commit916189f402c3310d0c2bfb3f2a8a9dc20991288e (patch)
tree29ecad860c6c0ffd9d5fbeaf315b03c7f663bfd0 /ext/js/display/display-audio.js
parent69e448a95547479bb595530dcbb89bfe017a8aed (diff)
Fix auto-play not working on the search page (#1882)
Diffstat (limited to 'ext/js/display/display-audio.js')
-rw-r--r--ext/js/display/display-audio.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/display/display-audio.js b/ext/js/display/display-audio.js
index 972d90b6..3a6b7a50 100644
--- a/ext/js/display/display-audio.js
+++ b/ext/js/display/display-audio.js
@@ -77,7 +77,7 @@ class DisplayAudio {
}
setupEntriesComplete() {
- if (!this._autoPlay || !this._display.popupVisible) { return; }
+ if (!this._autoPlay || !this._display.frameVisible) { return; }
this.clearAutoPlayTimer();