classiera loader
window["two_svg_placeholder"] = "data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20%20%22%3E%3C/svg%3E#}" if(typeof two_lazyLoadInstance === "undefined"){ window.two_lazyLoadInstance = new LazyLoad({ "callback_applied": function(element, instance){ let settings = instance._settings; var bgDataValue = element.getAttribute("data-" + settings.data_bg_multi); if (!bgDataValue) { return; } if(window.getComputedStyle(element).getPropertyValue("background-image") !== bgDataValue) { let style = element.getAttribute("style"); style += "background-image: " + bgDataValue + " !important;"; element.setAttribute("style", style); } } }); }else{ two_lazyLoadInstance.update(); } window.addEventListener("scroll", function() { if(two_lazyLoadInstance.toLoadCount>0){ two_lazyLoadInstance.update(); } });