From 1dfe082620a50ea172ee945aecb873ff0bb5e69a Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 25 Feb 2022 20:09:24 +0100 Subject: [PATCH] also hiding footer --- frontend/src/scripts/elements/leaderboards.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/scripts/elements/leaderboards.ts b/frontend/src/scripts/elements/leaderboards.ts index edfa8fedc..1bacd3e6b 100644 --- a/frontend/src/scripts/elements/leaderboards.ts +++ b/frontend/src/scripts/elements/leaderboards.ts @@ -34,8 +34,10 @@ let updateTimer: number | undefined; function clearTable(lb: number): void { if (lb === 15) { $("#leaderboardsWrapper table.left tbody").empty(); + $("#leaderboardsWrapper table.left tfoot").empty(); } else if (lb === 60) { $("#leaderboardsWrapper table.right tbody").empty(); + $("#leaderboardsWrapper table.right tfoot").empty(); } }