diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-09-09 23:29:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 23:29:41 -0400 |
commit | dfddf3792ea47ac91fd8bded58a88c87f4febfe2 (patch) | |
tree | 2c3678dbd5e6667dcc3ea33fadbd833c799c2abf /ext/js/language | |
parent | 7883d3949619fa7f1905c0d433fde82d7b84557c (diff) |
Fix redundant secondary term lookups (#1942)
Diffstat (limited to 'ext/js/language')
-rw-r--r-- | ext/js/language/translator.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/language/translator.js b/ext/js/language/translator.js index 2df39299..641c9d57 100644 --- a/ext/js/language/translator.js +++ b/ext/js/language/translator.js @@ -433,10 +433,10 @@ class Translator { groups: [] }; targetMap.set(key, target); + termList.push({term, reading}); + targetList.push(target); } target.groups.push(group); - termList.push({term, reading}); - targetList.push(target); } } |