instatiate lightbox only when needed, slight hack
This commit is contained in:
@ -16,3 +16,6 @@
|
||||
New Picture
|
||||
|
||||
:javascript
|
||||
document.addEventListener("DOMContentLoaded", function(event) {
|
||||
const lightbox = GLightbox({ });
|
||||
});
|
||||
|
Reference in New Issue
Block a user