diff options
author | Rasmus Luha <rasmus.luha@gmail.com> | 2023-01-06 23:22:44 +0200 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@gmail.com> | 2023-01-06 23:22:44 +0200 |
commit | 2963d358fecd49fd9b140c4df1fea7de04cb5757 (patch) | |
tree | 2ccd3c1d5cc555daed71f7b2329781fdda4eb538 /rannak/mangud/perenaine/memori | |
parent | ab1b5e77141ed402b41b16346254d512b458767c (diff) |
Sissejuhatus Popup and sonaragastik dif colors
Diffstat (limited to 'rannak/mangud/perenaine/memori')
-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; |