aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-01-27 23:28:01 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2020-01-27 23:28:01 +0200
commit02e0e24153eb95b45057cfc92cadb6563b229cc1 (patch)
treefec510fcd28cf7b955460d21cd441b6f1d198012 /ext
parentdd019ecf687299b0d2238312de7c476b2a263107 (diff)
change jpod101 kana check to detect katakana
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/audio.js2
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;
}