diff options
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/js/dictionary.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/dictionary.js b/ext/bg/js/dictionary.js index c68e5e8a..b18e17ca 100644 --- a/ext/bg/js/dictionary.js +++ b/ext/bg/js/dictionary.js @@ -79,9 +79,9 @@ class Dictionary { const results = []; for (let name in this.kanjiDicts) { - const def = this.kanjiDicts[name][kanji]; + const def = this.kanjiDicts[name].c[kanji]; if (def) { - const [k, o, g] = def; + const [k, o, ...g] = def; results.push({ character: kanji, kunyomi: k.split(' '), |