summaryrefslogtreecommitdiff
path: root/layouts/_partials/scripts/libra-js.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-09-17 00:55:46 +0800
committerEltrac <hi@guhub.cn>2025-09-17 00:55:46 +0800
commita4b49af51f028e6cbde882f427f3e0e501a718e4 (patch)
treebcd572f5facda0a9950738cb1d906f6b7c85d3c2 /layouts/_partials/scripts/libra-js.html
parent5c5bd0b3ab047a9078fb5255d9530bbf22b36fb7 (diff)
chore: update libra.js
Diffstat (limited to 'layouts/_partials/scripts/libra-js.html')
-rw-r--r--layouts/_partials/scripts/libra-js.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/scripts/libra-js.html b/layouts/_partials/scripts/libra-js.html
index 96a11bbb..7a7fe428 100644
--- a/layouts/_partials/scripts/libra-js.html
+++ b/layouts/_partials/scripts/libra-js.html
@@ -1,6 +1,6 @@
<script type="module">
import LightBox from '/js/libra.min.js';
const lightbox = new LightBox({
- container: 'article'
+ selector: 'img[data-libra]'
});
</script>