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/perenaine/ristsona/script.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'rannak/mangud/perenaine/ristsona/script.js') diff --git a/rannak/mangud/perenaine/ristsona/script.js b/rannak/mangud/perenaine/ristsona/script.js index b542037..e6f56c7 100644 --- a/rannak/mangud/perenaine/ristsona/script.js +++ b/rannak/mangud/perenaine/ristsona/script.js @@ -1,4 +1,9 @@ -//TODO delete arr not good and also undefined passing into õigeVastus ja valeVastus funks +document.addEventListener('DOMContentLoaded', () => { + let btn = document.querySelector('.modalButton'); + btn.click(); +}); + + let counter = 0; let õiged = new Array(); @@ -187,6 +192,7 @@ function enterSubmit(){ enterSubmit() + // If All Else Done -- cgit v1.2.3