1
0
Fork 0
mirror of https://github.com/Alamantus/Lexiconga.git synced 2025-05-11 04:31:16 +02:00

Save dictionary after editing word

This commit is contained in:
Robbie Antenesse 2020-07-31 16:25:51 -06:00
parent ec37fc53a5
commit a73b74ff71

View file

@ -287,6 +287,7 @@ export function updateWord(word, wordId) {
if (needsReRender) {
sortWords(true);
} else {
saveDictionary(false);
document.getElementById(wordId.toString()).outerHTML = renderWord(window.currentDictionary.words[wordIndex], isPublic);
setupWordOptionButtons();
setupWordOptionSelections();