$(document).ready(function(){
function toggleIcon(e) {
$(e.target)
.prev('.panel-heading')
.find(".more-less")
.toggleClass('glyphicon-plus glyphicon-minus');
}
$('.panel-group').on('hidden.bs.collapse', toggleIcon);
$('.panel-group').on('shown.bs.collapse', toggleIcon);
});
works like a charm
Davidb () - 3 years ago - Reply 0
yes it is not working, should one exchange the "Collapsible Group Item #1" with +/- symbols? but it doesn't work as well :-(
agnieszka () - 5 years ago - Reply 0