diff options
Diffstat (limited to 'rannak/endPage/main.js')
-rw-r--r-- | rannak/endPage/main.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/rannak/endPage/main.js b/rannak/endPage/main.js index 7f21f65..0cfc56b 100644 --- a/rannak/endPage/main.js +++ b/rannak/endPage/main.js @@ -7,17 +7,18 @@ if (localStorage.roll != undefined){ delete localStorage.roll; if (roll == 'Kaitseliitlase'){ - document.querySelector('h3').innerHTML = 'Baltiketti andmed:'; - spans[1].innerHTML = 'Asula: ' + localStorage.asula; - spans[2].innerHTML = 'Kaugus: ' + localStorage.kaugus; + document.querySelector('h3').innerHTML = 'Soomusmasinate teekond:'; + spans[1].innerHTML = 'Asukoht: ' + localStorage.asula; + //spans[2].innerHTML = 'Soomusmasinad möödusid sinust: ' + localStorage.kaugus ' km kauguselt.'; + spans[2].innerHTML = `Soomusmasinad möödusid sinust: ${localStorage.kaugus} km kauguselt.` delete localStorage.asula; delete localStorage.kaugus; } else if (roll == 'Direktori'){ - document.querySelector('h3').innerHTML = 'Baltiketti andmed:'; - spans[3].innerHTML = 'Baltiketi pikkus: ' + localStorage.teekond; + 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; |