From 8f3d2b1b6ff3cb2378a2ce5403faebaadca61c11 Mon Sep 17 00:00:00 2001 From: Rasmus Date: Fri, 5 May 2023 18:37:52 +0300 Subject: Parandused Former-commit-id: 5f3ba2029e5783e370d2a7808b5ede5448424e14 --- rannak/mangud/perenaine/ristsona/script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rannak/mangud/perenaine/ristsona/script.js') diff --git a/rannak/mangud/perenaine/ristsona/script.js b/rannak/mangud/perenaine/ristsona/script.js index a76eda3..1416897 100644 --- a/rannak/mangud/perenaine/ristsona/script.js +++ b/rannak/mangud/perenaine/ristsona/script.js @@ -206,7 +206,8 @@ function moveOnEnable(){ const btn = document.querySelector(".moveOn"); btn.disabled = false; - btn.onclick = () => location.href = ""; + localStorage.setItem("roll", "Perenaise"); + btn.onclick = () => location.href = "../../../endPage"; // Retsept const middlePart = document.querySelector("table"); -- cgit v1.2.3