diff --git a/koki/koeki.html b/koki/koeki.html index 87ef88e..4807de2 100644 --- a/koki/koeki.html +++ b/koki/koeki.html @@ -30,7 +30,7 @@

- - + + diff --git a/koki/koeki.js b/koki/koeki.js index 149fedf..f91f9a6 100644 --- a/koki/koeki.js +++ b/koki/koeki.js @@ -18,11 +18,11 @@ hallmarker.bindPopup("公益ホール").openPopup(); if (localStorage.getItem('cafe')!=0){ let img = document.getElementById("image"); - img.src = "cafe.png" + img.src = "image/cafe.png" }; if (localStorage.getItem('hall')!=0){ let img2 = document.getElementById("image-2") - img2.src = "hall.png" + img2.src = "image/hall.png" }; if (localStorage.getItem('point')!=0){ point = localStorage.getItem('point') @@ -87,7 +87,7 @@ let img = document.getElementById("image"); let cafe = localStorage.getItem('cafe') if (cafe == 0) { - img.src = "cafe.png"; + img.src = "image/cafe.png"; localStorage.setItem('cafe',1); } } @@ -95,7 +95,7 @@ let img2 = document.getElementById("image-2"); let hall = localStorage.getItem('hall') if (hall == 0) { - img2.src = "hall.png"; + img2.src = "image/hall.png"; localStorage.setItem('hall',1); } } @@ -114,8 +114,8 @@ localStorage.removeItem('hall'); localStorage.setItem('cafe',0); localStorage.setItem('hall',0); - img.src = "img.png"; - img2.src = "img.png"; + img.src = "image/img.png"; + img2.src = "image/img.png"; point=0; var target = document.getElementById("point"); target.innerHTML = point;