instatiate lightbox only when needed, slight hack

This commit is contained in:
Torsten
2023-02-02 17:36:17 +02:00
parent 7478c36108
commit 5ceaff890f
4 changed files with 21 additions and 3 deletions

View File

@ -16,3 +16,6 @@
New Picture
:javascript
document.addEventListener("DOMContentLoaded", function(event) {
const lightbox = GLightbox({ });
});