diff --git a/index.html b/index.html index 1215fcc..5b60d61 100644 --- a/index.html +++ b/index.html @@ -239,7 +239,9 @@ -
@@ -485,6 +487,7 @@
Rivals
diff --git a/src/index.civet b/src/index.civet index 2c7d0b8..4e28f1c 100644 --- a/src/index.civet +++ b/src/index.civet @@ -324,7 +324,12 @@ form.addEventListener { +passive } document.querySelectorAll '.info' - .forEach .addEventListener - 'click' - -> alert @title - { +passive } + .forEach (el) => + el.addEventListener + 'click' + -> alert @title + { +passive } + el.addEventListener + 'keypress' + (e) -> if e.key is 'Enter' or e.key is ' ' then alert @title + { +passive }