From 498470f43601f7a3e26d3a22c4560ba8f316c019 Mon Sep 17 00:00:00 2001 From: Simon Grim Date: Sun, 24 May 2015 14:01:18 +0500 Subject: [PATCH] fix of setting of profile modal's postboard height --- js/interface_common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {