summaryrefslogtreecommitdiff
path: root/ext/bg/js/options.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-05 16:27:29 -0800
committerAlex Yatskov <alex@foosoft.net>2017-03-05 16:27:29 -0800
commit44d7ad5a8ba612c1d704383f871967f1915235f3 (patch)
tree3b4cf59bb794f2ce67a82e518be0da0f363e2384 /ext/bg/js/options.js
parent0a75e14d93b6a5121b333fe0510d3f7aa34ffa5a (diff)
firefox fixes
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r--ext/bg/js/options.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index 4a7b88c1..dee7e379 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -192,7 +192,7 @@ function dictionaryGroupsPopulate(options) {
}
for (const row of dictRowsSort(rows, options)) {
- const dictOptions = options.dictionaries[row.title];
+ const dictOptions = options.dictionaries[row.title] || {enabled: false, priority: 0};
const dictHtml = handlebarsRender('dictionary.html', {
title: row.title,
version: row.version,