From 2963d358fecd49fd9b140c4df1fea7de04cb5757 Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Fri, 6 Jan 2023 23:22:44 +0200 Subject: Sissejuhatus Popup and sonaragastik dif colors --- rannak/mangud/perenaine/memori/script.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rannak/mangud/perenaine/memori/script.js') 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; -- cgit v1.2.3