summaryrefslogtreecommitdiff
path: root/rannak/mangud/uliopilane/ajatelg
diff options
context:
space:
mode:
Diffstat (limited to 'rannak/mangud/uliopilane/ajatelg')
-rw-r--r--rannak/mangud/uliopilane/ajatelg/script.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/rannak/mangud/uliopilane/ajatelg/script.js b/rannak/mangud/uliopilane/ajatelg/script.js
index c636836..ffea3d9 100644
--- a/rannak/mangud/uliopilane/ajatelg/script.js
+++ b/rannak/mangud/uliopilane/ajatelg/script.js
@@ -1,3 +1,10 @@
+document.addEventListener('DOMContentLoaded', () => {
+ let btn = document.querySelector('.modalButton');
+ btn.click();
+});
+
+
+
const list_items = document.querySelectorAll(".list-item");
const lists = document.querySelectorAll(".list");