Commit 028d73bb authored by Thomas Rientjes's avatar Thomas Rientjes
Browse files

Fix newly introduced bug and improve comments

parent 6e60455f
......@@ -62,10 +62,11 @@ function handleSettingAlteration ({ target }) {
*/
function applySettings (settings) {
// Iterate over the settings collection.
for (let setting in settings) {
// Apply the setting to the user interface.
applySetting(setting);
applySetting(settings[setting]);
}
}
......
......@@ -40,17 +40,15 @@
</div>
<div class="settings-item notice" data-visible-if="security_level:0">
<div class="settings-item notice">
<div class="notice-body">
<!-- Security Level: Standard -->
<div class="notice-body" data-visible-if="security_level:0">
<span data-l10n-id="standard_description"></span>
</div>
</div>
<div class="settings-item notice" data-visible-if="security_level:1">
<div class="notice-body">
<!-- Security Level: Safer -->
<div class="notice-body" data-visible-if="security_level:1">
<span data-l10n-id="safer_description"></span>
<span data-l10n-id="safer_list_label"></span>&#58;
......@@ -63,11 +61,8 @@
</div>
</div>
<div class="settings-item notice" data-visible-if="security_level:2">
<div class="notice-body">
<!-- Security Level: Safest -->
<div class="notice-body" data-visible-if="security_level:2">
<span data-l10n-id="safest_description"></span>
<span data-l10n-id="safest_list_label"></span>&#58;
......
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