From ac3bfb7728e9324e6a21035e7b321649550c60cb Mon Sep 17 00:00:00 2001 From: Rasmus Date: Sat, 10 Jun 2023 16:45:12 +0300 Subject: finalFixes Former-commit-id: 7fcc5cc7033804bb7e56b0ce5d3d77a6c2413236 --- rannak/endPage/main.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'rannak/endPage/main.js') 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 = "

Kõne


" + spans[5].innerHTML = localStorage.kone; + delete localStorage.kone; + - console.log(localStorage.teekond); delete localStorage.asula; delete localStorage.kaugus; -- cgit v1.2.3