diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2017-10-17 11:16:38 +0300 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2017-10-17 11:16:38 +0300 |
commit | 81f0a616519d1cea66ee54ec47c5da868a208ef6 (patch) | |
tree | 698c00fbe40918737cb7f202319501742c1bb64b /ext/bg/js/dictionary.js | |
parent | 1edeabdaa8861e149cd7f76f58d97aa127117f79 (diff) |
merged mode: Anki support
Diffstat (limited to 'ext/bg/js/dictionary.js')
-rw-r--r-- | ext/bg/js/dictionary.js | 3 |
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); |