From 8c067f1a3a774da1ff5203321de0f786b8977974 Mon Sep 17 00:00:00 2001 From: flifloo Date: Fri, 26 Mar 2021 22:59:02 +0100 Subject: [PATCH] Fix event name typo for scoreboard opening --- sources/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/js/index.js b/sources/js/index.js index c11478a..68e0fc7 100644 --- a/sources/js/index.js +++ b/sources/js/index.js @@ -135,7 +135,7 @@ audio.addEventListener("canplaythrough", () => { audio.play(); }); -scoreBoard.addEventListener("mousemove", () => { +scoreBoard.addEventListener("mouseover", () => { scoreBoard.classList.remove("close"); });