aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/dictionary.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-15 15:25:22 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-22 14:43:06 -0500
commit5e8b408a2317e8280a9c0e84681d304b6c8167f1 (patch)
treec4a580db46f3f3d3def260cad4cc14da94902cbc /ext/bg/js/dictionary.js
parentb6718dc4a402c07680b4f1e894a632373068350d (diff)
Change secondarySearchTitles to secondarySearchDictionaries
Diffstat (limited to 'ext/bg/js/dictionary.js')
-rw-r--r--ext/bg/js/dictionary.js3
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;