settings: add missing const

This commit is contained in:
siikamiika 2017-10-26 10:20:48 +03:00
parent de28190f5a
commit e063a315d4

View File

@ -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;
}