closes #4503, /cc @BenLubar

This commit is contained in:
Julian Lam
2016-04-07 11:32:18 -04:00
parent ba44db5b5b
commit a9f966f23c
5 changed files with 9 additions and 3 deletions

View File

@@ -263,7 +263,7 @@ define('forum/topic/posts', [
var images = components.get('post/content').find('img[data-state="unloaded"]'),
visible = images.filter(function() {
return utils.isElementInViewport(this);
return config.delayImageLoading ? utils.isElementInViewport(this) : true;
}),
scrollTop = $(window).scrollTop(),
adjusting = false,