diff options
Diffstat (limited to 'ext/bg/js/dictionary.js')
-rw-r--r-- | ext/bg/js/dictionary.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/bg/js/dictionary.js b/ext/bg/js/dictionary.js index cc7b507c..9ec23117 100644 --- a/ext/bg/js/dictionary.js +++ b/ext/bg/js/dictionary.js @@ -34,7 +34,7 @@ class Dictionary { findTerm(term) { let results = []; - for (const name in this.termDicts) { + for (let name in this.termDicts) { const dict = this.termDicts[name]; const indices = dict.indices[term] || []; @@ -48,7 +48,7 @@ class Dictionary { // TODO: Handle addons through data. // - for (const tag of tags) { + for (let tag of tags) { if (tag.startsWith('v5') && tag !== 'v5') { addons.push('v5'); } else if (tag.startsWith('vs-')) { @@ -74,7 +74,7 @@ class Dictionary { findKanji(kanji) { const results = []; - for (const name in this.kanjiDicts) { + for (let name in this.kanjiDicts) { const def = this.kanjiDicts[name][kanji]; if (def) { const [k, o, g] = def; |