aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/dictionary.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2017-09-29 05:41:29 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2017-09-29 05:41:29 +0300
commitb24c70523479c16eca848f5aafaa887549689ac6 (patch)
tree164cc016a3a9012c1d92469f9ee06a869d72fbea /ext/bg/js/dictionary.js
parent9106b59af628df26f86474fc77abb88c7d9bf9c5 (diff)
basic structure for feature-merge-similar-results
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 57acbe5e..f3f573d3 100644
--- a/ext/bg/js/dictionary.js
+++ b/ext/bg/js/dictionary.js
@@ -207,7 +207,8 @@ async function dictFieldFormat(field, definition, mode, options) {
const data = {
marker,
definition,
- group: options.general.groupResults,
+ group: options.general.resultOutputMode === 'group',
+ merge: options.general.resultOutputMode === 'merge',
modeTermKanji: mode === 'term-kanji',
modeTermKana: mode === 'term-kana',
modeKanji: mode === 'kanji'