mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
fixes #4487
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user