From 640e5a4894a4e94a8d376bcd0d7cdc0d53b88145 Mon Sep 17 00:00:00 2001 From: Miodec Date: Sun, 9 Oct 2022 00:41:34 +0200 Subject: [PATCH] clearing background color property after animation is done closes #3638 --- frontend/src/ts/elements/account-button.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/ts/elements/account-button.ts b/frontend/src/ts/elements/account-button.ts index 2ce75a504..1082bee02 100644 --- a/frontend/src/ts/elements/account-button.ts +++ b/frontend/src/ts/elements/account-button.ts @@ -461,6 +461,9 @@ async function flashLevel(): Promise { }, duration: 2000, easing: "easeOutCubic", + complete: () => { + barEl.css("background-color", ""); + }, } ); }