Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sharmrj committed Jan 6, 2025
1 parent 20b4b0e commit 32beac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/global-navigation/global-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ class Gnav {
const pred = (e) => !this.block.contains(e.target);
let enableScroll = () => {};
if (isExpanded) enableScroll = disableMobileScroll(pred);
else enablScroll();
else enableScroll();
if (!isExpanded && this.newMobileNav) {
const sections = document.querySelectorAll('header.new-nav .feds-nav > section.feds-navItem > button.feds-navLink');
animateInSequence(sections, 0.075);
Expand Down

0 comments on commit 32beac9

Please sign in to comment.