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);