summaryrefslogtreecommitdiff
path: root/rannak/mangud/direktor/kone/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'rannak/mangud/direktor/kone/script.js')
-rw-r--r--rannak/mangud/direktor/kone/script.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rannak/mangud/direktor/kone/script.js b/rannak/mangud/direktor/kone/script.js
index ba1d77b..91bdd44 100644
--- a/rannak/mangud/direktor/kone/script.js
+++ b/rannak/mangud/direktor/kone/script.js
@@ -20,6 +20,7 @@ kone.addEventListener('input', () => {
function moveOnEnable(){
const btn = document.querySelector(".moveOn");
btn.disabled = false;
- btn.onclick = () => location.href = "";
+ localStorage.setItem("roll", "Direktori");
+ btn.onclick = () => location.href = "../../../endPage";
}