From d6788a5010f565023b9eb942d3b3cc7b74c8bef1 Mon Sep 17 00:00:00 2001 From: Marvin Scham Date: Mon, 4 Mar 2024 06:12:33 +0100 Subject: [PATCH] Adjusted menu visibility --- script.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/script.js b/script.js index 192247e..d7f51c3 100644 --- a/script.js +++ b/script.js @@ -40,10 +40,5 @@ s1.onload = function() { console.error("Authentication Failed"); }); - const wrapper = document.querySelector("#config-buttons"); - const kcUserLink = wrapper.querySelector("#users").cloneNode(true); - kcUserLink.href = "https://auth.xn--schmkerei-37a.de/realms/schmoekerei/account"; - kcUserLink.id = "kcUserSettings"; - wrapper.append(kcUserLink); - kcUserLink.querySelector("div").innerHTML = "Account-Einstellungen"; + document.querySelectorAll(".config").forEach(el => {el.style.opacity = '0'}); } \ No newline at end of file