mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-19 03:56:17 +08:00
removed type cast
This commit is contained in:
parent
03facf7e8f
commit
5e34cecd9f
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 = parseInt(($(e.currentTarget).attr("quoteLength") as string) ?? 0);
|
||||
const len = parseInt($(e.currentTarget).attr("quoteLength") ?? "0");
|
||||
if (len === -2) {
|
||||
show();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue