aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-09-17 14:14:01 +0200
committerMario Vavti <mario@mariovavti.com>2015-09-17 14:14:01 +0200
commitb7e953f50eb8c2dc77ab95a712e5b12ce54c28b8 (patch)
treea54566974deaf9e78ae6acf03eea57e1c5087fc3 /library
parentf2104b0a5af6ad54ba67c0944c3e2f7548ea882f (diff)
downloadvolse-hubzilla-b7e953f50eb8c2dc77ab95a712e5b12ce54c28b8.tar.gz
volse-hubzilla-b7e953f50eb8c2dc77ab95a712e5b12ce54c28b8.tar.bz2
volse-hubzilla-b7e953f50eb8c2dc77ab95a712e5b12ce54c28b8.zip
fix calculation of content height with margins
Diffstat (limited to 'library')
-rw-r--r--library/readmore.js/readmore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/readmore.js/readmore.js b/library/readmore.js/readmore.js
index e790ceb76..d4c1cf723 100644
--- a/library/readmore.js/readmore.js
+++ b/library/readmore.js/readmore.js
@@ -62,7 +62,7 @@
function setBoxHeights(element) {
var el = element,
- expandedHeight = el.outerHeight(),
+ expandedHeight = el.outerHeight(true),
cssMaxHeight = parseInt(el.css({maxHeight: ''}).css('max-height').replace(/[^-\d\.]/g, ''), 10),
defaultHeight = element.data('defaultHeight');