mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-31 03:08:29 +08:00
fixed bug caused by triple equals
This commit is contained in:
parent
a6b59bb7da
commit
03facf7e8f
1 changed files with 1 additions and 1 deletions
|
|
@ -409,7 +409,7 @@ $("#popups").on("click", "#quoteSearchPopup #toggleShowFavorites", (e) => {
|
|||
});
|
||||
|
||||
$(".pageTest").on("click", "#testConfig .quoteLength .textButton", (e) => {
|
||||
const len = $(e.currentTarget).attr("quoteLength") ?? (0 as number);
|
||||
const len = parseInt(($(e.currentTarget).attr("quoteLength") as string) ?? 0);
|
||||
if (len === -2) {
|
||||
show();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue