diff --git a/script.js b/script.js index 1210d86..9faab65 100644 --- a/script.js +++ b/script.js @@ -220,6 +220,7 @@ function aleatoire() { function setMyKeyDownListener() { window.addEventListener("keydown", function(event){ + event.preventDefault(); console.log(event.key) if (event.key == "Enter"){ Enter();