summaryrefslogtreecommitdiff
path: root/ext/js/data/options-util.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-07-18 16:01:42 -0400
committerGitHub <noreply@github.com>2021-07-18 16:01:42 -0400
commit2ee3e3a7a18cc8cb71febe3030c149e0280ed9a7 (patch)
treefff3366243e31a1868419460cc9e7b2d41198eb1 /ext/js/data/options-util.js
parent40cdb4feb534174b78fb5f2ac612748ce9b5a9a4 (diff)
Update pronunciation anki templates (#1842)
* Update anki pronunciation templates * Expose nasalPositions/devoicePositions * Update templates to support nasal/devoice positions * Update test data
Diffstat (limited to 'ext/js/data/options-util.js')
-rw-r--r--ext/js/data/options-util.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/js/data/options-util.js b/ext/js/data/options-util.js
index d131d0c6..42d8a93a 100644
--- a/ext/js/data/options-util.js
+++ b/ext/js/data/options-util.js
@@ -857,6 +857,7 @@ class OptionsUtil {
// Added {selection-text} field marker.
// Added {sentence-furigana} field marker.
// Added anki.duplicateScopeCheckAllModels.
+ // Updated pronunciation templates.
await this._applyAnkiFieldTemplatesPatch(options, '/data/templates/anki-field-templates-upgrade-v13.handlebars');
for (const profile of options.profiles) {
profile.options.anki.duplicateScopeCheckAllModels = false;