Rimozione modal dopo chiusura

This commit is contained in:
Thomas Zilio 2019-09-11 16:17:35 +02:00
parent 23befd5c81
commit e1d5bd4d08
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ $(window).on("load", function () {
// Fix multi-modal
$(document).on('hidden.bs.modal', '.modal', function () {
$(this).remove();
$('.modal:visible').length && $(document.body).addClass('modal-open');
});