aboutsummaryrefslogtreecommitdiff
path: root/ext/js/pages/settings/anki-templates-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/pages/settings/anki-templates-controller.js')
-rw-r--r--ext/js/pages/settings/anki-templates-controller.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/pages/settings/anki-templates-controller.js b/ext/js/pages/settings/anki-templates-controller.js
index 332102cf..a0a6bd6c 100644
--- a/ext/js/pages/settings/anki-templates-controller.js
+++ b/ext/js/pages/settings/anki-templates-controller.js
@@ -156,7 +156,7 @@ export class AnkiTemplatesController {
/** */
_onValidateCompile() {
if (this._compileResultInfo === null) { return; }
- this._validate(this._compileResultInfo, '{expression}', 'term-kanji', false, true);
+ void this._validate(this._compileResultInfo, '{expression}', 'term-kanji', false, true);
}
/**
@@ -169,7 +169,7 @@ export class AnkiTemplatesController {
const infoNode = /** @type {HTMLElement} */ (this._renderResult);
infoNode.hidden = true;
this._cachedDictionaryEntryText = null;
- this._validate(infoNode, field, 'term-kanji', true, false);
+ void this._validate(infoNode, field, 'term-kanji', true, false);
}
/**