diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-22 11:30:24 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-22 14:43:06 -0500 |
commit | 54bb702b843ae9a312704f27e282bf340e8197fc (patch) | |
tree | c08c2177779156f6e90dfb237cbb2eb95a94302a /ext/bg/js/translator.js | |
parent | f143632f28d3bc2f89144958ff49e9e0b1932c96 (diff) |
Updates for PR feedback
Diffstat (limited to 'ext/bg/js/translator.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 6cf07d93..a675a9f7 100644 --- a/ext/bg/js/translator.js +++ b/ext/bg/js/translator.js @@ -71,7 +71,7 @@ class Translator { } async getMergedSecondarySearchResults(text, expressionsMap, secondarySearchDictionaries) { - if (secondarySearchDictionaries.length === 0) { + if (secondarySearchDictionaries.size === 0) { return []; } |