This commit is contained in:
Julian Lam
2016-03-31 15:52:39 -04:00
parent 1783583373
commit 73c4feec20
2 changed files with 3 additions and 3 deletions

View File

@@ -235,9 +235,7 @@ define('forum/topic/posts', [
};
Posts.unloadImages = function(posts) {
var images = posts.find('[component="post/content"] img:not(.not-responsive)'),
scrollTop = $(window).scrollTop(),
height = $(document).height();
var images = posts.find('[component="post/content"] img:not(.not-responsive)');
images.each(function() {
$(this).attr('data-src', $(this).attr('src'));