parsing to int

This commit is contained in:
Miodec 2022-02-21 02:48:06 +01:00
parent 8e6af5b6d2
commit 96bb69f765

View file

@ -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];