mirror of
https://github.com/Alamantus/Lexiconga.git
synced 2025-07-12 02:15:55 +02:00
Ensure IPA field works in edit form
This commit is contained in:
parent
6441a0546b
commit
acaf6cd406
1 changed files with 3 additions and 1 deletions
|
@ -200,7 +200,9 @@ export function renderEditForm(event = false) {
|
||||||
<a class="button edit-cancel">Cancel Edit</a>
|
<a class="button edit-cancel">Cancel Edit</a>
|
||||||
</form>`;
|
</form>`;
|
||||||
|
|
||||||
document.getElementById(wordId.toString()).innerHTML = editForm;
|
const parent = document.getElementById(wordId.toString())
|
||||||
|
parent.innerHTML = editForm;
|
||||||
|
setupIPAFields(parent);
|
||||||
renderPartsOfSpeech(true);
|
renderPartsOfSpeech(true);
|
||||||
renderTemplateSelectOptions();
|
renderTemplateSelectOptions();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue