SyntaxFix
Write A Post
Hire A Developer
Questions
working like a charm here for bootstrap 4>4.1.1
var myGroup = $('your-list'); myGroup.on('show.bs.collapse','.collapse', function() { myGroup.find('.collapse.show').collapse('hide'); });