summaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-23 20:03:50 -0700
committerAlex Yatskov <alex@foosoft.net>2017-03-23 20:03:50 -0700
commit77b0487912de46e5fd027b5b7c4c9ee1f7d02f7f (patch)
tree0d642350e802e1eaf85ba84c38fa94378bfca65d /ext/mixed/js
parent633c5a64f77f6fc4ccd7d79683cbd90e374ae71e (diff)
Diffstat (limited to 'ext/mixed/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 f8c419b4..63620dc6 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -172,7 +172,7 @@ class Display {
if (mode !== 'kanji') {
const filename = Display.audioBuildFilename(definition);
if (filename) {
- promise = this.audioBuildUrl(definition).then(url => definition.audio = {url, filename});
+ promise = this.audioBuildUrl(definition).then(url => definition.audio = {url, filename}).catch(() => {});
}
}