diff --git a/templates/components/popover-menu/newsroom-menu/layout.html.twig b/templates/components/popover-menu/newsroom-menu/layout.html.twig index bbdd1b3bdb..ef649e0441 100644 --- a/templates/components/popover-menu/newsroom-menu/layout.html.twig +++ b/templates/components/popover-menu/newsroom-menu/layout.html.twig @@ -1,4 +1,4 @@
-
+
diff --git a/templates/components/popover-menu/newsroom-menu/layout.js.twig b/templates/components/popover-menu/newsroom-menu/layout.js.twig index 7e51cb0b59..d13e9533c4 100644 --- a/templates/components/popover-menu/newsroom-menu/layout.js.twig +++ b/templates/components/popover-menu/newsroom-menu/layout.js.twig @@ -1,6 +1,6 @@ // TODO: We need to find a clean way to launch this script only once the JS scripts are loaded document.addEventListener("DOMContentLoaded", function(){ setTimeout(function(){ - $('#{{ oNewsroomMenu.Id }}').newsroom_menu({{ oNewsroomMenu.Params|raw }}); + $('#{{ oUIBlock.Id }}').newsroom_menu({{ oUIBlock.Params|raw }}); }, 500); }); \ No newline at end of file