diff options
author | Rasmus Luha <rasmus.luha@gmail.com> | 2023-01-02 00:20:24 +0200 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@gmail.com> | 2023-01-02 00:20:24 +0200 |
commit | ab1b5e77141ed402b41b16346254d512b458767c (patch) | |
tree | 5d8aaa6bbaa2217d7d74d56b74631e087c21343b /rannak/endPage/main.js | |
parent | 6a9499cea7df279407f61c55d1aa18bc23ff1869 (diff) |
endPage and some starter localStorage
Diffstat (limited to 'rannak/endPage/main.js')
-rw-r--r-- | rannak/endPage/main.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rannak/endPage/main.js b/rannak/endPage/main.js new file mode 100644 index 0000000..c6da3fc --- /dev/null +++ b/rannak/endPage/main.js @@ -0,0 +1,7 @@ +let rollSpan = document.querySelector("span"); ; + +if (rollSpan != undefined){ + rollSpan.innerHTML = localStorage.roll; + delete localStorage.roll; +} + |