diff --git a/ext/mixed/js/dictionary-data-util.js b/ext/mixed/js/dictionary-data-util.js index 65ad51a1..72c28172 100644 --- a/ext/mixed/js/dictionary-data-util.js +++ b/ext/mixed/js/dictionary-data-util.js @@ -17,6 +17,11 @@ class DictionaryDataUtil { static getPitchAccentInfos(definition) { + if (typeof definition.character === 'string') { + // Kanji + return []; + } + const results = new Map(); const allExpressions = new Set(); const allReadings = new Set();