another collapseHeight() fix

This commit is contained in:
Mario Vavti 2015-10-11 22:58:59 +02:00
parent 9431112f77
commit dec37b3dbe

View File

@ -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({