mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-11 09:06:36 +08:00
fix: validation errors when switching leaderboard modes
This commit is contained in:
parent
880dfb3442
commit
334abc2933
1 changed files with 1 additions and 1 deletions
|
@ -1303,7 +1303,7 @@ $(".page.pageLeaderboards .buttonGroup.secondary").on(
|
|||
"click",
|
||||
"button",
|
||||
function () {
|
||||
const mode = $(this).data("mode") as "15" | "60";
|
||||
const mode = `${$(this).data("mode")}` as "15" | "60";
|
||||
const language = $(this).data("language") as string;
|
||||
if (
|
||||
mode !== undefined &&
|
||||
|
|
Loading…
Add table
Reference in a new issue