summaryrefslogtreecommitdiff
path: root/rannak/endPage/main.js
diff options
context:
space:
mode:
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;