diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2020-01-27 23:28:01 +0200 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2020-01-27 23:28:01 +0200 |
commit | 02e0e24153eb95b45057cfc92cadb6563b229cc1 (patch) | |
tree | fec510fcd28cf7b955460d21cd441b6f1d198012 /ext | |
parent | dd019ecf687299b0d2238312de7c476b2a263107 (diff) |
change jpod101 kana check to detect katakana
Diffstat (limited to 'ext')
-rw-r--r-- | ext/bg/js/audio.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/audio.js b/ext/bg/js/audio.js index 36ac413b..d1e4af9e 100644 --- a/ext/bg/js/audio.js +++ b/ext/bg/js/audio.js @@ -22,7 +22,7 @@ const audioUrlBuilders = new Map([ let kana = definition.reading; let kanji = definition.expression; - if (!kana && wanakana.isHiragana(kanji)) { + if (!kana && jpIsStringEntirelyKana(kanji)) { kana = kanji; kanji = null; } |