diff options
Diffstat (limited to 'rannak/endPage/main.js')
-rw-r--r-- | rannak/endPage/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |