Skip to content

Commit

Permalink
Chrome lazy loading broke this lib
Browse files Browse the repository at this point in the history
  • Loading branch information
motching committed May 28, 2020
1 parent d7fe38b commit 68663df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readmore.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
maxHeight: 'none',
overflow: 'hidden'
}).insertAfter(element),
expandedHeight = el.outerHeight(),
expandedHeight = element.outerHeight(),
cssMaxHeight = parseInt(el.css({maxHeight: ''}).css('max-height').replace(/[^-\d\.]/g, ''), 10),
defaultHeight = element.data('defaultHeight');

Expand Down

0 comments on commit 68663df

Please sign in to comment.