You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using imagesloaded.pkgd.min.js and use the following javascript:
…
$('#payable-preview a .overlay').show();
$('#payable-preview a img')
.attr('src', …);
$('#payable-preview a img').imagesLoaded()
.always(function() {
$('#payable-preview a .overlay').hide();
});
But the function defined in "always()" is triggered immediately each time this code is executed. Thus the overlay is never visible because it gets hidden right after it was shown.