diff options
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r-- | ext/bg/js/options.js | 2 |
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, |