Commit 5c79483c authored by David Walsh's avatar David Walsh Committed by Sawyer Blatz
Browse files

Show horizontal divider in error pages

parent 316215ca
......@@ -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");
}
}
......
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