mirror of https://github.com/4xmen/xshop.git
11 lines
234 B
JavaScript
11 lines
234 B
JavaScript
7 months ago
|
import Lightbox from 'bs5-lightbox' ;
|
||
|
|
||
|
document.addEventListener('DOMContentLoaded',function () {
|
||
|
|
||
|
|
||
|
for (const el of document.querySelectorAll('.light-box')) {
|
||
|
el.addEventListener('click', Lightbox.initialize);
|
||
|
}
|
||
|
|
||
|
});
|