diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-10-10 13:30:05 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-10-10 13:30:05 +0200 |
commit | b2cc2e6765a9044a20c507860608c16ab8e30442 (patch) | |
tree | c4bec0abd8fad8266070ac526caf72a8050f31ec /library | |
parent | af13e5fa4a88691dc1d7a7474890b381fbb44aab (diff) | |
download | volse-hubzilla-b2cc2e6765a9044a20c507860608c16ab8e30442.tar.gz volse-hubzilla-b2cc2e6765a9044a20c507860608c16ab8e30442.tar.bz2 volse-hubzilla-b2cc2e6765a9044a20c507860608c16ab8e30442.zip |
fix readmorejs collapsing on scrolldirection change in mobile browsers
Diffstat (limited to 'library')
-rw-r--r-- | library/readmore.js/readmore.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/readmore.js/readmore.js b/library/readmore.js/readmore.js index 51222ced0..8b215dcb4 100644 --- a/library/readmore.js/readmore.js +++ b/library/readmore.js/readmore.js @@ -102,7 +102,7 @@ var resizeBoxes = debounce(function() { $('[data-readmore]').each(function() { var current = $(this), - isExpanded = (current.attr('aria-expanded') === 'true'); + isExpanded = (current.height() > current.data('collapsedHeight')); setBoxHeights(current); |