diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-03-23 20:03:50 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-03-23 20:03:50 -0700 |
commit | 77b0487912de46e5fd027b5b7c4c9ee1f7d02f7f (patch) | |
tree | 0d642350e802e1eaf85ba84c38fa94378bfca65d | |
parent | 633c5a64f77f6fc4ccd7d79683cbd90e374ae71e (diff) |
wip1.1.7
-rw-r--r-- | ext/manifest.json | 2 | ||||
-rw-r--r-- | ext/mixed/js/display.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/manifest.json b/ext/manifest.json index 30f33975..9c311b2f 100644 --- a/ext/manifest.json +++ b/ext/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Yomichan", - "version": "1.1.6", + "version": "1.1.7", "description": "Japanese dictionary with Anki integration", "icons": {"16": "mixed/img/icon16.png", "48": "mixed/img/icon48.png", "128": "mixed/img/icon128.png"}, 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(() => {}); } } |