diff options
Diffstat (limited to 'rannak/mangud/partorg/sonaragastik/script.js')
-rw-r--r-- | rannak/mangud/partorg/sonaragastik/script.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rannak/mangud/partorg/sonaragastik/script.js b/rannak/mangud/partorg/sonaragastik/script.js index af16488..6151b9e 100644 --- a/rannak/mangud/partorg/sonaragastik/script.js +++ b/rannak/mangud/partorg/sonaragastik/script.js @@ -94,7 +94,8 @@ function proovi(){ function moveOnEnable(){ const btn = document.querySelector(".moveOn"); btn.disabled = false; - btn.onclick = () => location.href = ""; + localStorage.setItem('roll', "Partogi"); + btn.onclick = () => location.href = "../../../endPage"; // submit btn const subButton = document.querySelector(".subBtn"); |