diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-06-26 20:23:53 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-06-26 20:23:53 -0700 |
commit | c23298dbb2f3f26ff96da80f69d70051cc14f733 (patch) | |
tree | da544b095a4665655013bccd115b9efad5c8a7e1 /ext/mixed/js | |
parent | 16baf9a400ac11a1c4f53ba6665db03a900511e0 (diff) | |
parent | 21b29ff135269fe33f5ae064abc74cfde6f2a5f5 (diff) |
Merge branch 'master' into firefox-amo
Diffstat (limited to 'ext/mixed/js')
-rw-r--r-- | ext/mixed/js/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/util.js b/ext/mixed/js/util.js index 62838674..5cf62000 100644 --- a/ext/mixed/js/util.js +++ b/ext/mixed/js/util.js @@ -108,7 +108,7 @@ function audioBuildUrl(definition, mode, cache={}) { } function audioBuildFilename(definition) { - if (definition.reading && definition.expression) { + if (definition.reading || definition.expression) { let filename = 'yomichan'; if (definition.reading) { filename += `_${definition.reading}`; |