Files
michaelschiemer/public/assets/js/modules-lightbox-trigger-BC2tREgK.js
Michael Schiemer 55a330b223 Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug
- Add DISCOVERY_SHOW_PROGRESS=true
- Temporary changes for debugging InitializerProcessor fixes on production
2025-08-11 20:13:26 +02:00

2 lines
510 B
JavaScript

import{U as t}from"./modules-ui-BqN_X73D.js";import{L as o,a as e}from"./core-CJ4hMzNX.js";function i(o){const e=o.target.closest("[data-lightbox]");e&&"IMG"===e.tagName&&(o.preventDefault(),t.open("lightbox",{content:`<img src="${e.src}" alt="${e.alt||""}" />`}))}const r=Object.freeze(Object.defineProperty({__proto__:null,destroy:function(){o.info("[lightbox-trigger] destroy")},init:function(){o.info("[lightbox-trigger] init"),e(document,"click",i)}},Symbol.toStringTag,{value:"Module"}));export{r as _};