I want to fix the detail-html-element behaviour in Firefox.
So I toggle the open attribute myself like:
$('summary').on('click', function () {
    var details = $(this).parent();  
    $('details').prop('open', !details.attr('open'));
});
I use prop because open is a property and not an attribute, right ?!
Anyway, this doesn't work in Firefox, but if I change prop to attr it works
$('details').attr('open', !details.attr('open'));  
Can someone explain to me where I go wrong ? Thnx!
 
     
    