fix calculation of content height with margins

This commit is contained in:
Mario Vavti
2015-09-17 14:14:01 +02:00
parent f2104b0a5a
commit b7e953f50e
3 changed files with 9 additions and 6 deletions

View File

@@ -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')) {