aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2017-10-26 10:20:48 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2017-10-26 10:20:48 +0300
commite063a315d4bd67ef75503131137ea3faf232cff2 (patch)
treeed7a1a3ece6c0a4be7946885c39b9584531ef6ca /ext/bg/js
parentde28190f5a1a80665ac95ef561148e684eae8ae1 (diff)
settings: add missing const
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/settings.js b/ext/bg/js/settings.js
index 36f2bdf9..19cdfa60 100644
--- a/ext/bg/js/settings.js
+++ b/ext/bg/js/settings.js
@@ -111,7 +111,7 @@ async function formMainDictionaryOptionsPopulate(options) {
titles = titles.filter(title => options.dictionaries[title].enabled);
const formOptionsHtml = [];
let mainDictionarySelected = false;
- for (title of titles) {
+ for (const title of titles) {
if (options.general.mainDictionary === title) {
mainDictionarySelected = true;
}