From 77b0487912de46e5fd027b5b7c4c9ee1f7d02f7f Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 23 Mar 2017 20:03:50 -0700 Subject: [PATCH] wip --- ext/manifest.json | 2 +- 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(() => {}); } }