From 51411d7e76ac8022b94d345439bb4a528973ce65 Mon Sep 17 00:00:00 2001 From: ilham_gmail Date: Thu, 11 Jun 2026 19:18:09 +0700 Subject: [PATCH] Hide 24-hours status from Rumah popups --- tugas-spbu/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}