I would like to be able to collapse the panels by doubleclicking on the heading.
Where would you add this customisation for the detail view of any entity?
Thank you,
Where would you add this customisation for the detail view of any entity?
Code:
$('.panel-heading').each(function(){ $(this).dblclick(function() { console.log("toggle panel"); $(this).siblings().toggleClass("collapse"); }); });
Comment