Skip to content

Commit

Permalink
Fix: georouting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bandana147 committed Jan 7, 2025
1 parent 1a087ce commit 2673f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/blocks/global-navigation/utilities/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ export const transformTemplateToMobile = async (popup, item, localnav = false) =

popup.querySelector('.close-icon')?.addEventListener('click', closeAllDropdowns);
popup.querySelector('.main-menu')?.addEventListener('click', closeAllDropdowns);
const tabbuttons = document.querySelectorAll('.tabs button');
const tabpanels = document.querySelectorAll('.tab-content [role="tabpanel"]');
const tabbuttons = popup.querySelectorAll('.global-navigation .tabs button');
const tabpanels = popup.querySelectorAll('.global-navigation .tab-content [role="tabpanel"]');

tabpanels.forEach((panel) => {
animateInSequence(panel.querySelectorAll('a'), 0.02);
Expand Down

0 comments on commit 2673f0d

Please sign in to comment.