diff --git a/_dev/js/theme/components/responsive.js b/_dev/js/theme/components/responsive.js index b699b703..fe4eff35 100644 --- a/_dev/js/theme/components/responsive.js +++ b/_dev/js/theme/components/responsive.js @@ -39,9 +39,6 @@ function toggleMobileStyles() { swapChildren(el, target); } }); - - document.querySelectorAll('[data-collapse-hide-mobile]:not(.show)').forEach((el) => el.classList.remove('collapse')); - document.querySelectorAll('[data-modal-hide-mobile].show').forEach((el) => el.classList.remove('show')); } prestashop.emit('responsive update', { mobile: prestashop.responsive.mobile, diff --git a/modules/ps_mainmenu/ps_mainmenu.tpl b/modules/ps_mainmenu/ps_mainmenu.tpl index 136f0b13..840fac22 100644 --- a/modules/ps_mainmenu/ps_mainmenu.tpl +++ b/modules/ps_mainmenu/ps_mainmenu.tpl @@ -33,7 +33,7 @@ {/if} {if $node.children|count} -