diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-01 11:40:17 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-01 21:00:43 -0500 |
commit | 566012f228452a4113e83f76d1c53be1f1f41643 (patch) | |
tree | 333430ff9b161587fe0a9ec3d9fc81cd31ded9cb /ext/bg/js/settings | |
parent | 5541aae2012785894fbb52b2767cce5be9a6f5ba (diff) |
Use await
Diffstat (limited to 'ext/bg/js/settings')
-rw-r--r-- | ext/bg/js/settings/dictionaries.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/settings/dictionaries.js b/ext/bg/js/settings/dictionaries.js index ed171ae9..545e128d 100644 --- a/ext/bg/js/settings/dictionaries.js +++ b/ext/bg/js/settings/dictionaries.js @@ -427,7 +427,7 @@ async function onDictionaryMainChanged(e) { const optionsContext = getOptionsContext(); const options = await getOptionsMutable(optionsContext); options.general.mainDictionary = value; - settingsSaveOptions(); + await settingsSaveOptions(); } |