fix: include photo gallery images in lightbox selector

This commit is contained in:
Ricardo
2026-02-27 11:54:01 +01:00
parent e2c40468b6
commit 1e900fab16
+1 -1
View File
@@ -15,7 +15,7 @@ document.addEventListener("alpine:init", () => {
init() { init() {
const container = this.$root; const container = this.$root;
const imgs = container.querySelectorAll( 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); this.images = Array.from(imgs);