mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
settings-level-expert: hide them by default (#3487)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user