From 9c141815f5e7b7ae116e4033d8cd836aa7b6f3c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=95=E5=B1=82=E7=94=A8=E6=88=B7?= Date: Mon, 23 May 2022 20:59:22 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20=E5=8F=98=E9=87=8F=E5=90=8D=E9=87=8D?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index 923c778..51c0dff 100644 --- a/js/main.js +++ b/js/main.js @@ -98,7 +98,7 @@ $('#hitokoto').click(function () { times = 1; var index = setInterval(function () { times--; - if (time == 0) { + if (times == 0) { clearInterval(index); } }, 1000);