There was an error while loading. Please reload this page.
1 parent 57cfec0 commit 0a81152Copy full SHA for 0a81152
1 file changed
blocks/header/header.js
@@ -727,6 +727,13 @@ export default async function decorate(block) {
727
);
728
await buildDropdownsDesktop($header);
729
// Ensure "Ask Ingredion" link opens in a new tab
730
+ console.log(
731
+ [...$header.querySelectorAll('a')].map(a => ({
732
+ text: a.textContent,
733
+ href: a.href
734
+ }))
735
+);
736
+
737
const askLink = [...$header.querySelectorAll('a')]
738
.find(a => a.textContent.includes('Ask Ingredion'));
739
if (askLink) {
0 commit comments