This commit is contained in:
Alex Yatskov 2017-03-23 20:03:50 -07:00
parent 633c5a64f7
commit 77b0487912
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "Yomichan", "name": "Yomichan",
"version": "1.1.6", "version": "1.1.7",
"description": "Japanese dictionary with Anki integration", "description": "Japanese dictionary with Anki integration",
"icons": {"16": "mixed/img/icon16.png", "48": "mixed/img/icon48.png", "128": "mixed/img/icon128.png"}, "icons": {"16": "mixed/img/icon16.png", "48": "mixed/img/icon48.png", "128": "mixed/img/icon128.png"},

View File

@ -172,7 +172,7 @@ class Display {
if (mode !== 'kanji') { if (mode !== 'kanji') {
const filename = Display.audioBuildFilename(definition); const filename = Display.audioBuildFilename(definition);
if (filename) { if (filename) {
promise = this.audioBuildUrl(definition).then(url => definition.audio = {url, filename}); promise = this.audioBuildUrl(definition).then(url => definition.audio = {url, filename}).catch(() => {});
} }
} }