diff --git a/js/interface_common.js b/js/interface_common.js index cf2d201..459a8d8 100644 --- a/js/interface_common.js +++ b/js/interface_common.js @@ -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) {