diff --git a/src/js/wordManagement.js b/src/js/wordManagement.js index 8614b35..72ae7ea 100644 --- a/src/js/wordManagement.js +++ b/src/js/wordManagement.js @@ -107,6 +107,7 @@ export function updateWord(word, wordId) { console.error('Could not find word to update'); } else { word.lastUpdated = getTimestampInSeconds(); + word.createdOn = window.currentDictionary.words[wordIndex].createdOn; window.currentDictionary.words[wordIndex] = word; addMessage('Word Updated Successfully'); sortWords(true);