aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-10-13 10:45:22 +0200
committerMario Vavti <mario@mariovavti.com>2015-10-13 10:45:22 +0200
commit61e3ef2552584b356027f32be6399c07e2cf613e (patch)
tree1bbfefd6c21c8b3a576e3cb67f48f7e8afbf2358
parent136e5fdf951f42c95a77d66d7fec9e95a1186e76 (diff)
downloadvolse-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.js1
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>',