summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Yatskov <FooSoft@users.noreply.github.com>2019-09-12 19:47:52 -0700
committerGitHub <noreply@github.com>2019-09-12 19:47:52 -0700
commit60b32a4a1ae6318c3c9ccb1fcccf66853f2b686f (patch)
tree87bf298473adf4c401b59fc4684104fb4ccadf89
parent1fea1184bd66ed250f8bed8218c08498a7ea81c0 (diff)
parentc38c7fbda1e2e7b320a9c5e564d3548197c6a236 (diff)
Merge pull request #206 from toasted-nutbread/fix-incorrect-function-name
Replace profileCreateDefaultFieldTemplates with optionsFieldTemplates
-rw-r--r--ext/bg/js/options.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index d093d0b4..5f04ec31 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();
}
}
];