summaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-13 20:26:48 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-13 20:50:30 -0500
commit75fbb1565cb9046b83c32df5f4211a62ef355067 (patch)
treedce13d914a042b315be494d8ae815446ba8541a5 /ext/mixed/js/display.js
parent0e6b75438a88456eb0a19bf0fc54bae5d2ec4485 (diff)
Use Map for audioGetFromSources's cache parameter
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r--ext/mixed/js/display.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index b18e275d..5b868df3 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -32,7 +32,7 @@ class Display {
this.index = 0;
this.audioPlaying = null;
this.audioFallback = null;
- this.audioCache = {};
+ this.audioCache = new Map();
this.styleNode = null;
this.eventListeners = [];