From 02e0e24153eb95b45057cfc92cadb6563b229cc1 Mon Sep 17 00:00:00 2001 From: siikamiika Date: Mon, 27 Jan 2020 23:28:01 +0200 Subject: change jpod101 kana check to detect katakana --- ext/bg/js/audio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') 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; } -- cgit v1.2.3