diff --git a/frontend/src/styles/nav.scss b/frontend/src/styles/nav.scss
index 88b5b843c..028422fbb 100644
--- a/frontend/src/styles/nav.scss
+++ b/frontend/src/styles/nav.scss
@@ -36,7 +36,6 @@
transition: opacity 0.125s, filter 0.125s, webkit-filter 0.125s;
width: 1.25rem;
height: 1.25rem;
- background: var(--sub-color);
border-radius: 100%;
background-position: center center;
background-size: contain;
diff --git a/frontend/src/ts/elements/account-button.ts b/frontend/src/ts/elements/account-button.ts
index 321d39322..8d04942ac 100644
--- a/frontend/src/ts/elements/account-button.ts
+++ b/frontend/src/ts/elements/account-button.ts
@@ -7,7 +7,6 @@ export function loading(truefalse: boolean): void {
if (truefalse) {
if (usingAvatar) {
$("#top #menu .account .avatar").addClass("hidden");
- $("#top #menu .account .icon").removeClass("hidden");
}
$("#top #menu .account .icon").html(
''
@@ -16,7 +15,6 @@ export function loading(truefalse: boolean): void {
} else {
if (usingAvatar) {
$("#top #menu .account .avatar").removeClass("hidden");
- $("#top #menu .account .icon").addClass("hidden");
}
$("#top #menu .account .icon").html('');
$("#top #menu .account").css("opacity", 1).css("pointer-events", "auto");
@@ -32,7 +30,8 @@ export function update(discordId?: string, discordAvatar?: string): void {
`url(https://cdn.discordapp.com/avatars/${discordId}/${discordAvatar}.png)`
);
$("#top #menu .account .avatar").removeClass("hidden");
- $("#top #menu .account .icon").addClass("hidden");
+ } else {
+ $("#top #menu .account .avatar").addClass("hidden");
}
Misc.swapElements(
$("#menu .text-button.login"),