From 5535716598542b1ef86e5ecced93c60a5cf4d334 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 24 Nov 2020 11:55:25 -0500 Subject: Fix incorrect frequency field being used (#1059) --- ext/bg/js/translator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/bg/js/translator.js') 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}; } -- cgit v1.2.3