summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'main.js')
-rw-r--r--main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.js b/main.js
index 4ec64dc..44a0fe3 100644
--- a/main.js
+++ b/main.js
@@ -76,7 +76,7 @@ window.onload = () => setTimeout(() => {
Promise.all([...Object.values(sfx)].map(x => new Promise(resolve => {
x.load();
- x.addEventListener('canplaythrough', resolve);
+ x.addEventListener('canplaythrough', resolve, false);
}))).then(
() => setupLevelSelectUi(root, sfx)
);