mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Improved image and thumbnail loading
This commit is contained in:
@ -92,10 +92,12 @@ App.Presenters.PostListPresenter = function(
|
||||
}
|
||||
|
||||
_.each(posts, function(post) {
|
||||
$target.append(jQuery('<li>' + templates.listItem({
|
||||
var $post = jQuery('<li>' + templates.listItem({
|
||||
searchArgs: searchArgs,
|
||||
post: post,
|
||||
}) + '</li>'));
|
||||
}) + '</li>')
|
||||
util.loadImagesNicely($post.find('img'));
|
||||
$target.append($post);
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user