From 1e900fab16acd932dfffab5538cef35be4e1e9fc Mon Sep 17 00:00:00 2001 From: Ricardo Date: Fri, 27 Feb 2026 11:54:01 +0100 Subject: [PATCH] fix: include photo gallery images in lightbox selector --- js/lightbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/lightbox.js b/js/lightbox.js index d8df430..07e440b 100644 --- a/js/lightbox.js +++ b/js/lightbox.js @@ -15,7 +15,7 @@ document.addEventListener("alpine:init", () => { init() { const container = this.$root; const imgs = container.querySelectorAll( - ".e-content img:not(.u-photo)" + ".e-content img:not(.u-photo), .photo-gallery img.u-photo" ); this.images = Array.from(imgs);