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/uliopilane/utlused/js/main.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'rannak/mangud/uliopilane/utlused/js/main.js') diff --git a/rannak/mangud/uliopilane/utlused/js/main.js b/rannak/mangud/uliopilane/utlused/js/main.js index 31b42da..07b8d27 100644 --- a/rannak/mangud/uliopilane/utlused/js/main.js +++ b/rannak/mangud/uliopilane/utlused/js/main.js @@ -1,3 +1,10 @@ +document.addEventListener('DOMContentLoaded', () => { + let btn = document.querySelector('.modalButton'); + btn.click(); +}); + + + // Detecting part const isMobile = function(){ const match = window.matchMedia('(pointer:coarse)'); -- cgit v1.2.3