Loading core/themes/olivero/js/navigation.es6.js +3 −2 Original line number Diff line number Diff line Loading @@ -90,7 +90,8 @@ window.addEventListener('resize', () => { if (props.olivero.isDesktopNav()) { toggleNav(props, false); props.body.classList.remove('js-overlay-active', 'js-fixed'); props.body.classList.remove('js-overlay-active'); props.body.classList.remove('js-fixed'); } }); } Loading @@ -106,7 +107,7 @@ ); if (navWrapper) { navWrapper.classList.add(`${navWrapperId}-processed`); const olivero = Drupal.olivero; const { olivero } = Drupal; const navButton = context.querySelector('.mobile-nav-button'); const body = context.querySelector('body'); const overlay = context.querySelector('.overlay'); Loading core/themes/olivero/js/navigation.js +2 −1 Original line number Diff line number Diff line Loading @@ -62,7 +62,8 @@ window.addEventListener('resize', function () { if (props.olivero.isDesktopNav()) { toggleNav(props, false); props.body.classList.remove('js-overlay-active', 'js-fixed'); props.body.classList.remove('js-overlay-active'); props.body.classList.remove('js-fixed'); } }); } Loading Loading
core/themes/olivero/js/navigation.es6.js +3 −2 Original line number Diff line number Diff line Loading @@ -90,7 +90,8 @@ window.addEventListener('resize', () => { if (props.olivero.isDesktopNav()) { toggleNav(props, false); props.body.classList.remove('js-overlay-active', 'js-fixed'); props.body.classList.remove('js-overlay-active'); props.body.classList.remove('js-fixed'); } }); } Loading @@ -106,7 +107,7 @@ ); if (navWrapper) { navWrapper.classList.add(`${navWrapperId}-processed`); const olivero = Drupal.olivero; const { olivero } = Drupal; const navButton = context.querySelector('.mobile-nav-button'); const body = context.querySelector('body'); const overlay = context.querySelector('.overlay'); Loading
core/themes/olivero/js/navigation.js +2 −1 Original line number Diff line number Diff line Loading @@ -62,7 +62,8 @@ window.addEventListener('resize', function () { if (props.olivero.isDesktopNav()) { toggleNav(props, false); props.body.classList.remove('js-overlay-active', 'js-fixed'); props.body.classList.remove('js-overlay-active'); props.body.classList.remove('js-fixed'); } }); } Loading