From a73b74ff71d4272a23324f7d75264e583d7905d8 Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Fri, 31 Jul 2020 16:25:51 -0600 Subject: [PATCH] Save dictionary after editing word --- src/js/wordManagement.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/wordManagement.js b/src/js/wordManagement.js index 240deb8..67c435f 100644 --- a/src/js/wordManagement.js +++ b/src/js/wordManagement.js @@ -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();