From b7e953f50eb8c2dc77ab95a712e5b12ce54c28b8 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 17 Sep 2015 14:14:01 +0200 Subject: fix calculation of content height with margins --- view/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/js') diff --git a/view/js/main.js b/view/js/main.js index 5fe778488..a60b47541 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -615,7 +615,7 @@ function updateConvItems(mode,data) { function collapseHeight() { - $(".wall-item-body, .directory-collapse").each(function() { + $(".wall-item-content, .directory-collapse").each(function() { var orgHeight = $(this).height(); if(orgHeight > divmore_height + 10) { if(! $(this).hasClass('divmore')) { -- cgit v1.2.3