diff --git a/src/js/dictionaryManagement.js b/src/js/dictionaryManagement.js index a6d1c91..1e8ddd2 100644 --- a/src/js/dictionaryManagement.js +++ b/src/js/dictionaryManagement.js @@ -304,8 +304,11 @@ export function migrateDictionary() { window.currentDictionary = Object.assign({}, DEFAULT_DICTIONARY, window.currentDictionary); window.currentDictionary.partsOfSpeech = window.currentDictionary.settings.partsOfSpeech.split(',').map(val => val.trim()).filter(val => val !== ''); delete window.currentDictionary.settings.partsOfSpeech; + delete window.currentDictionary.nextWordId; window.currentDictionary.settings.sortByDefinition = window.currentDictionary.settings.sortByEquivalent; delete window.currentDictionary.settings.sortByEquivalent; + window.currentDictionary.settings.theme = 'default'; + delete window.currentDictionary.settings.isComplete; migrated = true; } else if (window.currentDictionary.version !== MIGRATE_VERSION) {