From 2cbbcd242e3eeeb4d7a6167d7917d53bd9424551 Mon Sep 17 00:00:00 2001 From: siikamiika Date: Wed, 18 Oct 2017 10:08:34 +0300 Subject: fixups: remove useless check --- ext/bg/js/options.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'ext/bg') 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}}'; } ]; -- cgit v1.2.3