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 +}