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.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 = "";
}