From 21a439cf8e8c8e2c61b976fc36b9db6692fa8663 Mon Sep 17 00:00:00 2001 From: qrhlhplhp <80515002+qrhlhplhp@users.noreply.github.com> Date: Wed, 11 Jan 2023 12:52:14 +0900 Subject: [PATCH] fixed --- typing/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typing/main.js b/typing/main.js index 34f4725..2936c19 100644 --- a/typing/main.js +++ b/typing/main.js @@ -60,10 +60,10 @@ function timeclock(){ timecounttext.style.fontWeight = "bold" timecounttext.innerText = "TIME OVER" resetcolor() - typed.value = "" timecountspeed() setTimeout(setcolor,1000,timecounter); setTimeout(setToType,1000); + setTimeout(()=>typed.value = "",1000); }else{ lifecounttext.innerText = --lifecounter timecounttext.style.color = "red"