Improved image and thumbnail loading

This commit is contained in:
Marcin Kurczewski
2014-10-05 11:05:34 +02:00
parent 784ff22050
commit b57fee0ad8
15 changed files with 28 additions and 17 deletions

View File

@ -100,6 +100,7 @@ App.Presenters.PostCommentListPresenter = function(
canEditComment: auth.isLoggedIn(comment.user.name) ? privileges.editOwnComments : privileges.editAllComments,
canDeleteComment: auth.isLoggedIn(comment.user.name) ? privileges.deleteOwnComments : privileges.deleteAllComments,
}) + '</li>');
util.loadImagesNicely($item.find('img'));
$targetList.append($item);
$item.find('a.edit').click(function(e) {
e.preventDefault();