fixups: remove useless check

This commit is contained in:
siikamiika 2017-10-18 10:08:34 +03:00
parent 552185ffb4
commit 2cbbcd242e

View File

@ -269,14 +269,11 @@ function optionsVersion(options) {
} }
options.general.compactTags = false; options.general.compactTags = false;
options.general.compactGlossaries = false; options.general.compactGlossaries = false;
if (options.anki.fieldTemplates !== optionsFieldTemplates()) {
options.anki.fieldTemplates = '{{#if merge}}\n' + options.anki.fieldTemplates = '{{#if merge}}\n' +
optionsFieldTemplates() + optionsFieldTemplates() +
'\n{{else}}\n' + '\n{{else}}\n' +
options.anki.fieldTemplates + options.anki.fieldTemplates +
'\n{{/if}}'; '\n{{/if}}';
}
} }
]; ];