From 0405a49df19663d92a8e660a4193dbf2f582f04d Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 30 Jan 2016 13:47:58 +0100 Subject: fix a slight regression --- 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 16f6b9213..220898efd 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -637,7 +637,7 @@ function updateConvItems(mode,data) { function collapseHeight() { var origContentHeight = parseInt($("#region_2").height()); $(".wall-item-content, .directory-collapse").each(function() { - var orgHeight = parseInt($(this).height()); + var orgHeight = parseInt($(this).css('height')); if(orgHeight > divmore_height) { if(! $(this).hasClass('divmore')) { if($(window).scrollTop() + ($(window).height() - divmore_height) < $(this).offset().top) { -- cgit v1.2.3