mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-10 05:35:05 +08:00
parsing to int
This commit is contained in:
parent
8e6af5b6d2
commit
96bb69f765
1 changed files with 1 additions and 1 deletions
|
@ -1629,7 +1629,7 @@ $(document).on("click", "#top .config .time .text-button", (e) => {
|
|||
});
|
||||
|
||||
$(document).on("click", "#top .config .quoteLength .text-button", (e) => {
|
||||
let len = $(e.currentTarget).attr("quoteLength");
|
||||
let len = parseInt($(e.currentTarget).attr("quoteLength"));
|
||||
if (len != -2) {
|
||||
if (len == -1) {
|
||||
len = [0, 1, 2, 3];
|
||||
|
|
Loading…
Reference in a new issue