Skip to content

Commit 2bd81e2

Browse files
committed
Fix lightbox in content
1 parent 61787a5 commit 2bd81e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/handlebars/content.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ parent: feed
4444
<script src="/assets/{{asset 'mapping.js'}}" defer></script>
4545
<script type="module">
4646
{{&use 'lightbox'}}
47-
new Lightbox().attach(document.querySelectorAll('a[data-lightbox]'), document.querySelector('#lightbox'));
47+
new Lightbox().attach(document.querySelectorAll('[data-lightbox]'), document.querySelector('#lightbox'));
4848
</script>
4949
<script type="module">
5050
{{&use 'mapping'}}

0 commit comments

Comments
 (0)