summaryrefslogtreecommitdiff
path: root/rannak/endPage/main.js
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@gmail.com>2023-01-02 00:20:24 +0200
committerRasmus Luha <rasmus.luha@gmail.com>2023-01-02 00:20:24 +0200
commitab1b5e77141ed402b41b16346254d512b458767c (patch)
tree5d8aaa6bbaa2217d7d74d56b74631e087c21343b /rannak/endPage/main.js
parent6a9499cea7df279407f61c55d1aa18bc23ff1869 (diff)
endPage and some starter localStorage
Diffstat (limited to 'rannak/endPage/main.js')
-rw-r--r--rannak/endPage/main.js7
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;
+}
+