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/partorg/kuulsused/script.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rannak/mangud/partorg/kuulsused/script.js') diff --git a/rannak/mangud/partorg/kuulsused/script.js b/rannak/mangud/partorg/kuulsused/script.js index e1b994b..60c3ffa 100644 --- a/rannak/mangud/partorg/kuulsused/script.js +++ b/rannak/mangud/partorg/kuulsused/script.js @@ -1,3 +1,9 @@ +document.addEventListener('DOMContentLoaded', () => { + let btn = document.querySelector('.modalButton'); + btn.click(); +}); + + const list_items = document.querySelectorAll(".list-item"); const lists = document.querySelectorAll(".list"); -- cgit v1.2.3