diff --git a/libs/blocks/global-navigation/global-navigation.js b/libs/blocks/global-navigation/global-navigation.js index f0cbf74c59..edc2f9fb6f 100644 --- a/libs/blocks/global-navigation/global-navigation.js +++ b/libs/blocks/global-navigation/global-navigation.js @@ -648,7 +648,7 @@ class Gnav { return this.loadDelayed().then(() => { this.blocks.search.instance = new this.Search(this.blocks.search.config); - }); + }).catch(() => {}); }; isToggleExpanded = () => this.elements.mobileToggle?.getAttribute('aria-expanded') === 'true';