fix of setting of profile modal's postboard height

This commit is contained in:
Simon Grim 2015-05-24 14:01:18 +05:00
parent 93320ed25b
commit 498470f436

View File

@ -110,7 +110,7 @@ function openProfileModalWithUsernameHandler(username) {
}
content.find('.postboard') // potentially dangerous fix because it's supposed for vertical oriented profile modals
.height(content.height() - content.find('.profile-card').outerHeight());
.height(content.outerHeight() - content.find('.profile-card').outerHeight());
}
function openHashtagModalFromSearchHandler(hashtag) {