diff options
Diffstat (limited to 'rannak/mangud/partorg/kuulsused')
-rw-r--r-- | rannak/mangud/partorg/kuulsused/script.js | 6 |
1 files changed, 6 insertions, 0 deletions
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"); |