summaryrefslogtreecommitdiff
path: root/ext/bg/js/dictionary.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2017-10-17 11:16:38 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2017-10-17 11:16:38 +0300
commit81f0a616519d1cea66ee54ec47c5da868a208ef6 (patch)
tree698c00fbe40918737cb7f202319501742c1bb64b /ext/bg/js/dictionary.js
parent1edeabdaa8861e149cd7f76f58d97aa127117f79 (diff)
merged mode: Anki support
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 6df77d73..97716e65 100644
--- a/ext/bg/js/dictionary.js
+++ b/ext/bg/js/dictionary.js
@@ -368,7 +368,8 @@ async function dictFieldFormat(field, definition, mode, options) {
merge: options.general.resultOutputMode === 'merge',
modeTermKanji: mode === 'term-kanji',
modeTermKana: mode === 'term-kana',
- modeKanji: mode === 'kanji'
+ modeKanji: mode === 'kanji',
+ compactGlossaries: options.general.compactGlossaries
};
const html = await apiTemplateRender(options.anki.fieldTemplates, data, true);