Fixed inability to add post notes to GIFs

This commit is contained in:
rr- 2016-01-13 21:24:08 +01:00
parent 0eabc4ed41
commit 1ce16c80ec

View file

@ -108,7 +108,7 @@ App.Presenters.PostContentPresenter = function(
$target.html(templates.postContent({post: post})); $target.html(templates.postContent({post: post}));
$wrapper = $target.find('.object-wrapper'); $wrapper = $target.find('.object-wrapper');
if (post.contentType === 'image') { if (post.contentType === 'image' || post.contentType === 'animation') {
loadPostNotes(); loadPostNotes();
updatePostNotesSize(); updatePostNotesSize();
} }