aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-09-07 19:50:58 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-09-15 15:56:53 -0400
commitc8171f5ec7612f0ba147d7e0887cd8c30a527827 (patch)
tree4d2c97faefdbc9991333094670f726d4c303ebab /ext/bg/js/settings.js
parent58778612778df944628b4697dc51caccbeb22f79 (diff)
Add preliminary support for profiles
Diffstat (limited to 'ext/bg/js/settings.js')
-rw-r--r--ext/bg/js/settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/settings.js b/ext/bg/js/settings.js
index 3d581ba5..88929c49 100644
--- a/ext/bg/js/settings.js
+++ b/ext/bg/js/settings.js
@@ -643,7 +643,7 @@ async function onAnkiFieldTemplatesReset(e) {
e.preventDefault();
const optionsContext = getOptionsContext();
const options = await apiOptionsGet(optionsContext);
- const fieldTemplates = optionsFieldTemplates();
+ const fieldTemplates = profileOptionsGetDefaultFieldTemplates();
options.anki.fieldTemplates = fieldTemplates;
$('#field-templates').val(fieldTemplates);
await settingsSaveOptions();