diff --git a/scripts/js/footer.js b/scripts/js/footer.js index b392ae96..b195fc21 100644 --- a/scripts/js/footer.js +++ b/scripts/js/footer.js @@ -684,7 +684,7 @@ function applyExpertSettings() { if (localStorage.getItem("expert_settings") === "true") { for (const element of expertSettingsNodes) element.classList.remove("d-none"); } else { - for (const element of expertSettingsNodes) element.classList.add("d-none"); + for (const element of expertSettingsNodes) element.classList.toggle("d-none", true); // If we left with an empty page (no visible boxes) after switching from // Expert to Basic settings, redirect to admin/settings/system instead diff --git a/scripts/lua/sidebar.lp b/scripts/lua/sidebar.lp index 312b9669..2820c6cf 100644 --- a/scripts/lua/sidebar.lp +++ b/scripts/lua/sidebar.lp @@ -175,7 +175,7 @@ Local DNS Records -