summaryrefslogtreecommitdiff
path: root/rannak/mangud/uliopilane/utlused/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'rannak/mangud/uliopilane/utlused/js/main.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)');