Clear cached definition when rendering a template (#1022)
This commit is contained in:
parent
ec021964b7
commit
20f3d09aa4
@ -136,6 +136,7 @@ class AnkiTemplatesController {
|
|||||||
const field = this._renderFieldInput.value;
|
const field = this._renderFieldInput.value;
|
||||||
const infoNode = this._renderResult;
|
const infoNode = this._renderResult;
|
||||||
infoNode.hidden = true;
|
infoNode.hidden = true;
|
||||||
|
this._cachedDefinitionText = null;
|
||||||
this._validate(infoNode, field, 'term-kanji', true, false);
|
this._validate(infoNode, field, 'term-kanji', true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user