aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js2
1 files changed, 1 insertions, 1 deletions
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) {