Contribution Date
Technology
Contribution Project
Contribution Details
as per the defaults mentioned in the latest readmore.js,
defaults = {
speed: 100,
collapsedHeight: 200,
heightMargin: 16,
moreLink: '<a href="#">Read More</a>',
lessLink: '<a href="#">Close</a>',
embedCSS: true,
blockCSS: 'display: block; width: 100%;',
startOpen: false,
// callbacks
beforeToggle: function(){},
afterToggle: function(){}
},
The collapsedHeight parameter appears to be required and the maxHeight parameters appears to be unused. So renaming maxHeight to collapsedHeight.
Contribution Issue Link
Contribution Link
Files count
1
Patches count
1