mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-10 06:01:28 +08:00
fix(daily leaderboard): schema issues when switching languages
!nuf
This commit is contained in:
parent
334abc2933
commit
0833e1efc7
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).attr("data-mode") as "15" | "60" | undefined;
|
||||
const language = $(this).data("language") as string;
|
||||
if (
|
||||
mode !== undefined &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue