summaryrefslogtreecommitdiff
path: root/rannak/mangud/perenaine/ristsona/script.js
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@gmail.com>2023-02-05 20:43:17 +0200
committerRasmus Luha <rasmus.luha@gmail.com>2023-02-05 20:43:17 +0200
commit209b1915b0f1879d0055ea17f76464dddcf8089b (patch)
treea7b4077a0c239dba3f0e40b6463e2fb368b65eb3 /rannak/mangud/perenaine/ristsona/script.js
parentea90f1c8a5fb5b666113ee21f81a5530127a0517 (diff)
Hinnad mäng for Arimees + fonts
Diffstat (limited to 'rannak/mangud/perenaine/ristsona/script.js')
-rw-r--r--rannak/mangud/perenaine/ristsona/script.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/rannak/mangud/perenaine/ristsona/script.js b/rannak/mangud/perenaine/ristsona/script.js
index e6f56c7..a76eda3 100644
--- a/rannak/mangud/perenaine/ristsona/script.js
+++ b/rannak/mangud/perenaine/ristsona/script.js
@@ -172,6 +172,11 @@ function getInputValue() {
else{
kontrolliVastus(inputNr, inputVal.toLowerCase());
}
+
+ // Clear input value
+ let inputs = document.querySelectorAll("input");
+ for (let ipt of inputs)
+ ipt.value = "";
}