aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/translator.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-11-24 11:55:25 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-11-25 10:34:36 -0500
commit5535716598542b1ef86e5ecced93c60a5cf4d334 (patch)
tree5e9acad3e6a93de7b709af9987f30ab6f6e02443 /ext/bg/js/translator.js
parent614b428570a8bb5a964a92ae733e2b50e4d8bf51 (diff)
Fix incorrect frequency field being used (#1059)
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r--ext/bg/js/translator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js
index 6e29aeae..65168e40 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -812,7 +812,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};
}