Closed m3xx closed 8 years ago
You can do wall.refresh() after all images being loaded. Sample code below. You may want to change it a little bit.
var images = $(html).find('img');
var length = images.length;
images.load(checkImageStatus);
images.error(checkImageStatus);
wall.appendBlock(html);
function checkImageStatus() {
--length;
if (!length) {
setTimeout(function () {
wall.refresh();
}, 505);
}
}
@dragonfish-au Thank you.
I have an issue. The grid does not render properly until I resize the browser.
screens
http://imgur.com/yGYBiGl
http://imgur.com/MGMklqb
my html
my sass
my js