diff options
Diffstat (limited to 'rannak/mangud/perenaine/memori/script.js')
-rw-r--r-- | rannak/mangud/perenaine/memori/script.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rannak/mangud/perenaine/memori/script.js b/rannak/mangud/perenaine/memori/script.js index 1e9215b..8d74ec9 100644 --- a/rannak/mangud/perenaine/memori/script.js +++ b/rannak/mangud/perenaine/memori/script.js @@ -1,3 +1,9 @@ +document.addEventListener('DOMContentLoaded', () => { + let btn = document.querySelector('.modalButton'); + btn.click(); +}); + + const cards = document.querySelectorAll('.memory-card'); let hasFlippedCard = false; |