From dec37b3dbe07d373d6bfaeb630bafb755371aace Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 11 Oct 2015 22:58:59 +0200 Subject: another collapseHeight() fix --- view/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/js/main.js') diff --git a/view/js/main.js b/view/js/main.js index 34d6bf475..14d9dcd2f 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -616,7 +616,7 @@ function updateConvItems(mode,data) { function collapseHeight() { $(".wall-item-content, .directory-collapse").each(function() { - var orgHeight = $(this).height(); + var orgHeight = $(this).outerHeight(true); if(orgHeight > divmore_height + 10) { if(! $(this).hasClass('divmore')) { $(this).readmore({ -- cgit v1.2.3