1
0
Fork 0

Show horizontal divider in error pages

master
David Walsh 3 years ago committed by Sawyer Blatz
parent 316215ca54
commit 5c79483c7e
  1. 4
      app/src/main/assets/low_and_medium_risk_error_pages.html

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

Loading…
Cancel
Save