Double clicking a collapse element breaks active appearance
Created by: au-phiware
I have found that double clicking on a [data-toggle="collapse"]
will toggle the active
class twice but trigger the collapse only once. I am using this fix:
$('[data-toggle="collapse"]').click(function(e) {
if($($(this).data('target')).hasClass('collapsing'))
return false;
});