summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_partials/scripts.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/_partials/scripts.html b/layouts/_partials/scripts.html
index 8e65c873..158ac812 100644
--- a/layouts/_partials/scripts.html
+++ b/layouts/_partials/scripts.html
@@ -30,7 +30,10 @@ document.addEventListener("DOMContentLoaded", () => {
<script type="module">
document.addEventListener('DOMContentLoaded', async () => {
const { default: LightBox } = await import('/js/libra.min.js');
- const lightbox = new LightBox({ offset: { x: -8, y: -80 } });
+ const lightbox = new LightBox({
+ offset: { x: -8, y: -80 },
+ selector: "[data-libra]:not(.disable-libra *)",
+ });
});
</script>