diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2017-10-18 10:08:34 +0300 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2017-10-18 10:08:34 +0300 |
commit | 2cbbcd242e3eeeb4d7a6167d7917d53bd9424551 (patch) | |
tree | 51084d8c00ff7cbd035906c39c749a4248b9db7e /ext | |
parent | 552185ffb4c79228d3a6cc9391910f03449a3418 (diff) |
fixups: remove useless check
Diffstat (limited to 'ext')
-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}}'; } ]; |