summaryrefslogtreecommitdiff
path: root/rannak/mangud/uliopilane/utlused/js
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@gmail.com>2023-01-06 23:22:44 +0200
committerRasmus Luha <rasmus.luha@gmail.com>2023-01-06 23:22:44 +0200
commit2963d358fecd49fd9b140c4df1fea7de04cb5757 (patch)
tree2ccd3c1d5cc555daed71f7b2329781fdda4eb538 /rannak/mangud/uliopilane/utlused/js
parentab1b5e77141ed402b41b16346254d512b458767c (diff)
Sissejuhatus Popup and sonaragastik dif colors
Diffstat (limited to 'rannak/mangud/uliopilane/utlused/js')
-rw-r--r--rannak/mangud/uliopilane/utlused/js/main.js7
1 files changed, 7 insertions, 0 deletions
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)');