summaryrefslogtreecommitdiff
path: root/ext/bg/settings.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-15 00:02:52 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-29 12:33:03 -0500
commitd2ae7364bb969afbaa86fed28c8c756c0a19ab02 (patch)
treef392267da47282aefb5d06faa91f9e556be7de4a /ext/bg/settings.html
parent3033fea31e4bc9ba7198d2d31d6f6046813926d1 (diff)
Update anki-templates.js to control the value of fieldTemplates
Also assigns a value of null when using the default value
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r--ext/bg/settings.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html
index c924f06f..e0036f57 100644
--- a/ext/bg/settings.html
+++ b/ext/bg/settings.html
@@ -754,7 +754,9 @@
engine. Advanced users can modify these templates for ultimate control of what information gets included in
their Anki cards. If you encounter problems with your changes, you can always reset to the default template settings.
</p>
- <textarea autocomplete="off" spellcheck="false" wrap="soft" class="form-control" rows="10" id="field-templates"></textarea>
+ <div class="ignore-form-changes">
+ <textarea autocomplete="off" spellcheck="false" wrap="soft" class="form-control" rows="10" id="field-templates"></textarea>
+ </div>
<div>
<button class="btn btn-danger" id="field-templates-reset">Reset Templates</button>
</div>