Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
fenix
Commits
5c79483c
Commit
5c79483c
authored
Feb 07, 2020
by
David Walsh
Committed by
Sawyer Blatz
Feb 10, 2020
Browse files
Show horizontal divider in error pages
parent
316215ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/assets/low_and_medium_risk_error_pages.html
View file @
5c79483c
...
...
@@ -59,10 +59,10 @@ function toggleAdvancedAndScroll() {
const
badCertAdvancedPanel
=
document
.
getElementById
(
"
badCertAdvancedPanel
"
);
// We know that the button is being displayed
if
(
badCertAdvancedPanel
.
classList
.
has
(
"
hidden
"
)
)
{
if
(
badCertAdvancedPanel
.
style
.
display
===
"
block
"
)
{
horizontalLine
.
classList
.
remove
(
"
hidden
"
);
advancedPanelAcceptButton
.
scrollIntoView
({
behavior
:
"
smooth
"
,
block
:
"
center
"
,
inline
:
"
nearest
"
});
}
else
if
(
badCertAdvancedPanel
.
classList
.
has
(
"
hidden
"
))
{
}
else
{
horizontalLine
.
classList
.
add
(
"
hidden
"
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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