Fixed post notes drag boundaries

This commit is contained in:
Marcin Kurczewski
2014-10-26 11:45:30 +01:00
parent c4489a14b8
commit 03ce73b1a5
2 changed files with 5 additions and 3 deletions

View File

@ -31,6 +31,8 @@ App.Presenters.PostContentPresenter = function(
if (post.contentType === 'image') {
loadPostNotes();
$target.find('.post-notes-target').width($target.find('.image-wrapper').outerWidth());
$target.find('.post-notes-target').height($target.find('.image-wrapper').outerHeight());
}
}