From 2963d358fecd49fd9b140c4df1fea7de04cb5757 Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Fri, 6 Jan 2023 23:22:44 +0200 Subject: Sissejuhatus Popup and sonaragastik dif colors --- rannak/endPage/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rannak/endPage') diff --git a/rannak/endPage/main.js b/rannak/endPage/main.js index c6da3fc..b38f354 100644 --- a/rannak/endPage/main.js +++ b/rannak/endPage/main.js @@ -1,7 +1,8 @@ let rollSpan = document.querySelector("span"); ; -if (rollSpan != undefined){ +if (rollSpan.roll !=undefined){ rollSpan.innerHTML = localStorage.roll; + console.log(localStorage.roll); delete localStorage.roll; } -- cgit v1.2.3