We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fece733 commit 744aec2Copy full SHA for 744aec2
plugin/src/js/lightbox.js
@@ -1,5 +1,7 @@
1
import GLightbox from 'glightbox';
2
3
+window.lhGlightbox = window?.lhGlightbox ?? GLightbox;
4
+
5
document.addEventListener('DOMContentLoaded', () => {
6
new LightboxControl();
7
});
0 commit comments