aboutsummaryrefslogtreecommitdiffstats
path: root/library/readmore.js/hubzilla-custom-fix-webkit-browsers.patch
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-07-22 14:29:16 +0200
committerMario Vavti <mario@mariovavti.com>2016-07-22 14:29:16 +0200
commit4ffc4ee70aa38c24cee2a7ae0b35c9203515acef (patch)
tree03d75b325963a2ba5eba83045c1d1a042c4862f2 /library/readmore.js/hubzilla-custom-fix-webkit-browsers.patch
parent52db6490222be3ee7d3872b1af989c9430d4b892 (diff)
downloadvolse-hubzilla-4ffc4ee70aa38c24cee2a7ae0b35c9203515acef.tar.gz
volse-hubzilla-4ffc4ee70aa38c24cee2a7ae0b35c9203515acef.tar.bz2
volse-hubzilla-4ffc4ee70aa38c24cee2a7ae0b35c9203515acef.zip
rename the patch so that it explains what it does
Diffstat (limited to 'library/readmore.js/hubzilla-custom-fix-webkit-browsers.patch')
-rw-r--r--library/readmore.js/hubzilla-custom-fix-webkit-browsers.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/library/readmore.js/hubzilla-custom-fix-webkit-browsers.patch b/library/readmore.js/hubzilla-custom-fix-webkit-browsers.patch
new file mode 100644
index 000000000..fd3146152
--- /dev/null
+++ b/library/readmore.js/hubzilla-custom-fix-webkit-browsers.patch
@@ -0,0 +1,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;
+ }