Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Thomas Rientjes
tor-browser-settings
Commits
028d73bb
Commit
028d73bb
authored
Dec 28, 2016
by
Thomas Rientjes
Browse files
Fix newly introduced bug and improve comments
parent
6e60455f
Changes
2
Hide whitespace changes
Inline
Side-by-side
chrome/js/settings.js
View file @
028d73bb
...
...
@@ -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
(
setting
s
[
setting
]
);
}
}
...
...
chrome/settings.html
View file @
028d73bb
...
...
@@ -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>
:
...
...
@@ -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>
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment