summaryrefslogtreecommitdiff
path: root/rannak/mangud/perenaine/memori
diff options
context:
space:
mode:
Diffstat (limited to 'rannak/mangud/perenaine/memori')
-rw-r--r--rannak/mangud/perenaine/memori/script.js6
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;