I have looked for a while, but I can\'t find a solution for this. I want the following:
I use another way:
$('#showModal').on('hidden.bs.modal', function() { $('#easyModal').on('shown.bs.modal', function() { $('body').addClass('modal-open'); }); });