diff options
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js index 34d6bf475..0c26e3d57 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -616,11 +616,12 @@ 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({ speed: 0, + heightMargin: 50, collapsedHeight: divmore_height, moreLink: '<a href="#" class="divgrow-showmore">' + aStr.divgrowmore + '</a>', lessLink: '<a href="#" class="divgrow-showmore">' + aStr.divgrowless + '</a>', |