From da08aa0a31e38ee109597ec20a19e8c08b6e27ff Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 15 Feb 2026 12:54:37 -0500 Subject: Don't break on trip with removed body --- www/photo.causal.agency/trips.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/photo.causal.agency/trips.html') diff --git a/www/photo.causal.agency/trips.html b/www/photo.causal.agency/trips.html index d65aeaef..8eace5e5 100644 --- a/www/photo.causal.agency/trips.html +++ b/www/photo.causal.agency/trips.html @@ -229,7 +229,7 @@ function setTrips() { `: ${trip.firstExposure}–${trip.lastExposure}` )); if ( - body.mount != body.name && + (!body || body.mount != body.name) && (!index || trip.lens != rollTrips[index-1].lens) ) { li.appendChild(document.createElement("br")); -- cgit 1.4.1