1
Fork 0
mirror of https://github.com/Steffo99/trivia.git synced 2024-12-30 10:44:26 +00:00

allow clicking

This commit is contained in:
Steffo 2023-03-04 21:38:18 +01:00 committed by GitHub
parent 3a07de208a
commit de7202d2aa
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,4 +45,5 @@ document.onkeypress = async function(e) {
else {
await colorAnswers();
}
};
};
document.onclick = document.onkeypress;