diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-09-11 19:56:13 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-09-11 19:56:13 -0400 |
commit | c38c7fbda1e2e7b320a9c5e564d3548197c6a236 (patch) | |
tree | b8e179eabb3524da7d39de6290b72a193c737a7d | |
parent | cc53510883b5c5f75069655df6a6733ff1bd002a (diff) |
Replace profileCreateDefaultFieldTemplates with optionsFieldTemplates
-rw-r--r-- | ext/bg/js/options.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js index 69c662e6..8b76d4c7 100644 --- a/ext/bg/js/options.js +++ b/ext/bg/js/options.js @@ -48,7 +48,7 @@ const optionsVersionUpdates = [ options.scanning.modifier = options.scanning.requireShift ? 'shift' : 'none'; }, (options) => { - const fieldTemplatesDefault = profileCreateDefaultFieldTemplates(); + const fieldTemplatesDefault = optionsFieldTemplates(); options.general.resultOutputMode = options.general.groupResults ? 'group' : 'split'; options.anki.fieldTemplates = ( (utilStringHashCode(options.anki.fieldTemplates) !== -805327496) ? @@ -58,12 +58,12 @@ const optionsVersionUpdates = [ }, (options) => { if (utilStringHashCode(options.anki.fieldTemplates) === 1285806040) { - options.anki.fieldTemplates = profileCreateDefaultFieldTemplates(); + options.anki.fieldTemplates = optionsFieldTemplates(); } }, (options) => { if (utilStringHashCode(options.anki.fieldTemplates) === -250091611) { - options.anki.fieldTemplates = profileCreateDefaultFieldTemplates(); + options.anki.fieldTemplates = optionsFieldTemplates(); } } ]; |