1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-24 14:31:42 +01:00

Rimozione modal dopo chiusura

This commit is contained in:
Thomas Zilio 2019-09-11 16:17:35 +02:00
parent 23befd5c81
commit e1d5bd4d08

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');
});