From 4ffc4ee70aa38c24cee2a7ae0b35c9203515acef Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 22 Jul 2016 14:29:16 +0200 Subject: rename the patch so that it explains what it does --- .../readmore.js/hubzilla-custom-fix-webkit-browsers.patch | 13 +++++++++++++ library/readmore.js/hubzilla-custom.patch | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 library/readmore.js/hubzilla-custom-fix-webkit-browsers.patch delete mode 100644 library/readmore.js/hubzilla-custom.patch (limited to 'library') 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; + } diff --git a/library/readmore.js/hubzilla-custom.patch b/library/readmore.js/hubzilla-custom.patch deleted file mode 100644 index fd3146152..000000000 --- a/library/readmore.js/hubzilla-custom.patch +++ /dev/null @@ -1,13 +0,0 @@ -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; - } -- cgit v1.2.3