summaryrefslogtreecommitdiff
path: root/rannak/mangud/perenaine/ristsona/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'rannak/mangud/perenaine/ristsona/script.js')
-rw-r--r--rannak/mangud/perenaine/ristsona/script.js8
1 files changed, 7 insertions, 1 deletions
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