diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-11-09 20:49:44 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-11-09 20:52:16 -0500 |
commit | 3e864c44c379ae3c5f5c046ca2c2cd9155b6b7e0 (patch) | |
tree | 99cef3f64d56f13f46e5a6736c40164d6c988351 /ext/bg/js/settings-dictionaries.js | |
parent | 4ac41283880fdbdf9bf0b82e255004a300d62e8b (diff) |
Fixes for Edge
Diffstat (limited to 'ext/bg/js/settings-dictionaries.js')
-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 5a722c6f..720b7d3d 100644 --- a/ext/bg/js/settings-dictionaries.js +++ b/ext/bg/js/settings-dictionaries.js @@ -53,7 +53,7 @@ class SettingsDictionaryListUI { const titles = this.dictionaryEntries.map(e => e.dictionaryInfo.title); const removeKeys = Object.keys(this.optionsDictionaries).filter(key => titles.indexOf(key) < 0); if (removeKeys.length >= 0) { - for (const key of removeKeys) { + for (const key of toIterable(removeKeys)) { delete this.optionsDictionaries[key]; } changed = true; |