diff --git a/tugas-spbu/index.html b/tugas-spbu/index.html index 19628e3..235a9ee 100644 --- a/tugas-spbu/index.html +++ b/tugas-spbu/index.html @@ -261,9 +261,10 @@ function loadData() { // use circleMarker so we can change color dynamically const color = jenis === 'masjid' ? '#1976d2' : '#d32f2f'; marker = L.circleMarker([item.latitude, item.longitude], {radius:8, color:color, fillColor:color, fillOpacity:1}); + const statusText = jenis === 'rumah' ? '' : `${statusHtml}
`; marker.bindPopup(` ${safeNama}
- ${statusHtml}
+ ${statusText}
${safeAlamat}