diff --git a/timer.js b/timer.js index 357a7ce..7b117db 100644 --- a/timer.js +++ b/timer.js @@ -20,6 +20,7 @@ tmID = setTimeout(countDown, 1000); button.removeEventListener("click", startCountDown, false); areas[hit].addEventListener("click", stopCountDown, false); + areas[hit].document.getElementById('hit'); } function changeColor() { document.getElementById("div").addEventListener("click", changeColor, false);