Commit d19ed923 authored by Thomas Rientjes's avatar Thomas Rientjes
Browse files

Improve code indentation

parent 028d73bb
......@@ -119,14 +119,14 @@ function applySetting (setting) {
*/
function applyL10n (l10n) {
let l10nKeys = Object.keys(l10n);
let l10nKeys = Object.keys(l10n);
l10nKeys.forEach(function (l10nKey) {
l10nKeys.forEach(function (l10nKey) {
let elements = document.querySelectorAll('[data-l10n-id="' + l10nKey + '"]');
let elements = document.querySelectorAll('[data-l10n-id="' + l10nKey + '"]');
for (let element of elements) {
element.textContent = l10n[l10nKey];
}
});
for (let element of elements) {
element.textContent = l10n[l10nKey];
}
});
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment