summary refs log tree commit diff
path: root/www
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2026-02-15 12:54:37 -0500
committerJune McEnroe <june@causal.agency>2026-02-15 12:54:59 -0500
commit8482c6fc65d507a2fd4edcc61798c11337105177 (patch)
tree365828e079fab8f87afdcabff3d16e90a97ddb6c /www
parentKeep manpath.conf sorted (diff)
downloadsrc-8482c6fc65d507a2fd4edcc61798c11337105177.tar.gz
src-8482c6fc65d507a2fd4edcc61798c11337105177.zip
Don't break on trip with removed body
Diffstat (limited to 'www')
-rw-r--r--www/photo.causal.agency/trips.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/photo.causal.agency/trips.html b/www/photo.causal.agency/trips.html
index d65aeaef..137678bd 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"));