From b524787216e0f04b60849e230c971ed56a7ad4c9 Mon Sep 17 00:00:00 2001 From: BloxerHD018 Date: Sat, 8 Aug 2026 12:43:20 +0100 Subject: [PATCH] Remove Leftover Admin Panel Code --- static/js/accounts.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/static/js/accounts.js b/static/js/accounts.js index 595b562..ce6eb10 100644 --- a/static/js/accounts.js +++ b/static/js/accounts.js @@ -32,10 +32,6 @@ function updateUserDataDisplay(data) { document.getElementById("access-level").textContent = level[0]; document.getElementById("access-level").style = `color: ${level[1]}; background-color: ${level[2]}; border-color: ${level[3]}`; - - if (data["account_level"] >= 2) { - document.getElementById("ban").style = "" - } } function logOut() { @@ -116,4 +112,4 @@ async function deleteAccount() { document.getElementById("confirm-delete").style = "display: none;" document.getElementById("delete-success").style = "" -} \ No newline at end of file +}