From 7783aa4c1a36784b709aba768c17d9476a16a43d Mon Sep 17 00:00:00 2001 From: siikamiika Date: Wed, 11 Oct 2017 19:58:57 +0300 Subject: reset main dictionary on purge --- ext/bg/js/settings.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/bg') diff --git a/ext/bg/js/settings.js b/ext/bg/js/settings.js index 4d248304..cab9c056 100644 --- a/ext/bg/js/settings.js +++ b/ext/bg/js/settings.js @@ -302,6 +302,7 @@ async function onDictionaryPurge(e) { await utilDatabasePurge(); const options = await optionsLoad(); options.dictionaries = {}; + options.dictionary.main = ''; await optionsSave(options); await dictionaryGroupsPopulate(options); -- cgit v1.2.3