diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-15 15:25:22 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-22 14:43:06 -0500 |
commit | 5e8b408a2317e8280a9c0e84681d304b6c8167f1 (patch) | |
tree | c4a580db46f3f3d3def260cad4cc14da94902cbc /ext/bg/js/dictionary.js | |
parent | b6718dc4a402c07680b4f1e894a632373068350d (diff) |
Change secondarySearchTitles to secondarySearchDictionaries
Diffstat (limited to 'ext/bg/js/dictionary.js')
-rw-r--r-- | ext/bg/js/dictionary.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/bg/js/dictionary.js b/ext/bg/js/dictionary.js index afdcc6b9..4a0b46cb 100644 --- a/ext/bg/js/dictionary.js +++ b/ext/bg/js/dictionary.js @@ -26,7 +26,8 @@ function dictEnabledSet(options) { const dictionary = optionsDictionaries[title]; if (!dictionary.enabled) { continue; } enabledDictionaryMap.set(title, { - priority: dictionary.priority || 0 + priority: dictionary.priority || 0, + allowSecondarySearches: !!dictionary.allowSecondarySearches }); } return enabledDictionaryMap; |