diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-11-24 11:55:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 11:55:25 -0500 |
commit | 496af0b5f276e310f3a33bc47d55ede8e6bfb732 (patch) | |
tree | 5157e03deadf359aa9d5d2e0f17c21de268c8c3c /ext/bg/js | |
parent | de299c64ae0d32f316d1679b79dd1ad72e1c0ed9 (diff) |
Fix incorrect frequency field being used (#1059)
Diffstat (limited to 'ext/bg/js')
-rw-r--r-- | ext/bg/js/translator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js index d582f25f..45d7f17a 100644 --- a/ext/bg/js/translator.js +++ b/ext/bg/js/translator.js @@ -807,7 +807,7 @@ class Translator { let frequency = data; if (data !== null && typeof data === 'object') { if (data.reading !== reading) { return null; } - frequency = data.frequency2; + frequency = data.frequency; } return {expression, reading, dictionary, frequency}; } |