mirror of
https://github.com/Alamantus/Lexiconga.git
synced 2025-07-06 23:54:17 +02:00
Save dictionary after editing word
This commit is contained in:
parent
ec37fc53a5
commit
a73b74ff71
1 changed files with 1 additions and 0 deletions
|
@ -287,6 +287,7 @@ export function updateWord(word, wordId) {
|
||||||
if (needsReRender) {
|
if (needsReRender) {
|
||||||
sortWords(true);
|
sortWords(true);
|
||||||
} else {
|
} else {
|
||||||
|
saveDictionary(false);
|
||||||
document.getElementById(wordId.toString()).outerHTML = renderWord(window.currentDictionary.words[wordIndex], isPublic);
|
document.getElementById(wordId.toString()).outerHTML = renderWord(window.currentDictionary.words[wordIndex], isPublic);
|
||||||
setupWordOptionButtons();
|
setupWordOptionButtons();
|
||||||
setupWordOptionSelections();
|
setupWordOptionSelections();
|
||||||
|
|
Loading…
Add table
Reference in a new issue