' +'').insertBefore($(this)); $(this).remove(); }); cbLightBox = new SmartPhoto(".cb-lightbox:not(.d-none)"); lazyObserver.observe(); });