aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-20 00:35:56 -0400
committerGitHub <noreply@github.com>2020-09-20 00:35:56 -0400
commit07c95c56ba8873463f45b2ba027e4826a6a423ca (patch)
treef0114225c96245c5a529179bb3aa8b0feff01832 /ext/bg/js
parent7a8b7eb48871553d98c3d687c48543343a2f8dff (diff)
Fix _addFieldTemplatesBeforeEnd not being await'd (#850)
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/options.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index ccb1f256..fda6026d 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -380,7 +380,7 @@ class OptionsUtil {
if (addition === null) {
addition = await this._fetchAsset(additionSourceUrl);
}
- profileOptions.anki.fieldTemplates = this._addFieldTemplatesBeforeEnd(fieldTemplates, addition);
+ profileOptions.anki.fieldTemplates = await this._addFieldTemplatesBeforeEnd(fieldTemplates, addition);
}
}
}