do not collapse content which is just slightly higher than we allow

This commit is contained in:
Mario Vavti 2015-10-13 10:45:22 +02:00
parent 136e5fdf95
commit 61e3ef2552

View File

@ -621,6 +621,7 @@ function collapseHeight() {
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>',