aboutsummaryrefslogtreecommitdiffstats
path: root/library/readmore.js/hubzilla-custom-fix-webkit-browsers.patch
blob: fd314615242be72f139dd739f8ce0b9809dbcafe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/library/readmore.js/readmore.js b/library/readmore.js/readmore.js
index 34a624e..51222ce 100644
--- a/library/readmore.js/readmore.js
+++ b/library/readmore.js/readmore.js
@@ -246,7 +246,7 @@
           collapsedHeight = $element.data('collapsedHeight');
 
       if ($element.height() <= collapsedHeight) {
-        newHeight = $element.data('expandedHeight') + 'px';
+        newHeight = 100 + '%';
         newLink = 'lessLink';
         expanded = true;
       }