wip
This commit is contained in:
parent
633c5a64f7
commit
77b0487912
@ -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"},
|
||||||
|
@ -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(() => {});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user