From 4a9c6f51a396e9b5f7bc8fc183cc9a157143fce6 Mon Sep 17 00:00:00 2001 From: Maxime Huran Date: Mon, 8 Apr 2024 18:54:14 +0200 Subject: [PATCH] Correct typo to be sure we remove previous modal --- src/Resources/views/Admin/Browser/app.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/views/Admin/Browser/app.html.twig b/src/Resources/views/Admin/Browser/app.html.twig index 2d559f9..2c547bf 100644 --- a/src/Resources/views/Admin/Browser/app.html.twig +++ b/src/Resources/views/Admin/Browser/app.html.twig @@ -31,7 +31,7 @@ let req = new XMLHttpRequest(); req.onload = function(progress) { if (this.status === 200) { - $('.monsieurbiz-sylius-menu-browser_modal').remove(); + $('.monsieurbiz-sylius-menu-browser__modal').remove(); monsieurbizSyliusMenuBrowserRemoveLoaderModal(); $(this.responseText).modal({duration: 0,inverted: true,blurring: true}).modal('show'); } else {