summaryrefslogtreecommitdiff
path: root/rannak/endPage/main.js
diff options
context:
space:
mode:
authorRasmus <rasmus.luha@gmail.com>2023-06-10 16:45:12 +0300
committerRasmus <rasmus.luha@gmail.com>2023-06-10 16:45:12 +0300
commitac3bfb7728e9324e6a21035e7b321649550c60cb (patch)
treee467ad4fcf4b83f1d6aa6f9d8613ee7d0534bfc9 /rannak/endPage/main.js
parent562fd4eb2551cf26c19d619bdf00dbd965fb11d5 (diff)
finalFixes
Former-commit-id: 7fcc5cc7033804bb7e56b0ce5d3d77a6c2413236
Diffstat (limited to 'rannak/endPage/main.js')
-rw-r--r--rannak/endPage/main.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/rannak/endPage/main.js b/rannak/endPage/main.js
index 0cfc56b..4101cd2 100644
--- a/rannak/endPage/main.js
+++ b/rannak/endPage/main.js
@@ -18,11 +18,17 @@ if (localStorage.roll != undefined){
else if (roll == 'Direktori'){
document.querySelector('h3').innerHTML = 'Balti keti andmed:';
- spans[3].innerHTML = 'Balti keti pikkus: ' + localStorage.teekond;
spans[1].innerHTML = 'Asula: ' + localStorage.asula;
spans[2].innerHTML = 'Kaugus: ' + localStorage.kaugus;
+ spans[3].innerHTML = 'Balti keti pikkus: ' + localStorage.teekond;
+
+
+
+ spans[4].innerHTML = "<br><br><h3><strong>Kõne</strong></h3><br>"
+ spans[5].innerHTML = localStorage.kone;
+ delete localStorage.kone;
+
- console.log(localStorage.teekond);
delete localStorage.asula;
delete localStorage.kaugus;