diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-10-13 10:45:22 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-10-13 10:45:22 +0200 |
commit | 61e3ef2552584b356027f32be6399c07e2cf613e (patch) | |
tree | 1bbfefd6c21c8b3a576e3cb67f48f7e8afbf2358 | |
parent | 136e5fdf951f42c95a77d66d7fec9e95a1186e76 (diff) | |
download | volse-hubzilla-61e3ef2552584b356027f32be6399c07e2cf613e.tar.gz volse-hubzilla-61e3ef2552584b356027f32be6399c07e2cf613e.tar.bz2 volse-hubzilla-61e3ef2552584b356027f32be6399c07e2cf613e.zip |
do not collapse content which is just slightly higher than we allow
-rw-r--r-- | view/js/main.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js index 14d9dcd2f..0c26e3d57 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -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>', |