diff options
Diffstat (limited to 'ext/bg/js')
-rw-r--r-- | ext/bg/js/options.js | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js index 00e1b5d7..c56c1945 100644 --- a/ext/bg/js/options.js +++ b/ext/bg/js/options.js @@ -269,14 +269,11 @@ function optionsVersion(options) { } options.general.compactTags = false; options.general.compactGlossaries = false; - if (options.anki.fieldTemplates !== optionsFieldTemplates()) { - options.anki.fieldTemplates = '{{#if merge}}\n' + - optionsFieldTemplates() + - '\n{{else}}\n' + - options.anki.fieldTemplates + - '\n{{/if}}'; - - } + options.anki.fieldTemplates = '{{#if merge}}\n' + + optionsFieldTemplates() + + '\n{{else}}\n' + + options.anki.fieldTemplates + + '\n{{/if}}'; } ]; |