Great Gatsby Headpiece
Package include: headpiece with feather
Material: beads and feather
require([“jquery”, “magepow/lazyload”, “domReady!”], function($, lazyload){
var imgLazy = $(‘img.lazyload’).not(“.loaded”);
imgLazy.lazyload();
imgLazy.on(‘load’,function(){
var img = $(this);
if(img.hasClass( “loaded” )) return;
if(img.attr(‘src’) == img.data(‘src’)){img.addClass(‘loaded’);}
else {img.lazyload();}
if($.equalheight) $.fn.equalheight();
});
$(‘body’).on(‘contentUpdated’, function () {
var lazy = $(this).find(“img.lazyload”).not(“.loaded”).lazyload();
lazy.on(‘load’,function(){
var img = $(this);
if(img.hasClass( “loaded” )) return;
if(img.attr(‘src’) == img.data(‘src’)){img.addClass(‘loaded’);}
else {img.lazyload();}
if($.equalheight) $.fn.equalheight();
});
});
$(‘body’).removeClass(‘loading_body’);
});













Reviews
There are no reviews yet.