summaryrefslogtreecommitdiff
path: root/rannak/mangud/arimees/muusika/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'rannak/mangud/arimees/muusika/script.js')
-rw-r--r--rannak/mangud/arimees/muusika/script.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rannak/mangud/arimees/muusika/script.js b/rannak/mangud/arimees/muusika/script.js
index 8803bbe..0bcaae0 100644
--- a/rannak/mangud/arimees/muusika/script.js
+++ b/rannak/mangud/arimees/muusika/script.js
@@ -27,6 +27,7 @@ for(el of selectors){
function moveOnEnable(){
const btn = document.querySelector(".moveOn");
btn.disabled = false;
- btn.onclick = () => location.href = "";
+ localStorage.setItem("roll", "Ärimehe");
+ btn.onclick = () => location.href = "../../../endPage";
}