From e1d5bd4d08a7268f0704568f447df431c028de07 Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Wed, 11 Sep 2019 16:17:35 +0200 Subject: [PATCH] Rimozione modal dopo chiusura --- assets/src/js/custom.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/src/js/custom.js b/assets/src/js/custom.js index fd075dffe..bcd6a38d8 100644 --- a/assets/src/js/custom.js +++ b/assets/src/js/custom.js @@ -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'); });