Skip to content

Commit

Permalink
MWPW-156410: add daa-lh/ll values for gnav promo
Browse files Browse the repository at this point in the history
  • Loading branch information
nishantka committed Jan 2, 2025
1 parent c36fb32 commit 38a803f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/blocks/global-navigation/utilities/menu/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const decoratePromo = (elem, index) => {
let promoImageElem;

if (linkElem instanceof HTMLElement) {
promoImageElem = toFragment`<a class="feds-promo-image" href="${linkElem.href}">
promoImageElem = toFragment`<a class="feds-promo-image" href="${linkElem.href}" daa-ll="promo-image">
${imageElem}
</a>`;
} else {
Expand Down Expand Up @@ -176,7 +176,7 @@ const decoratePromo = (elem, index) => {
elem.classList.add('feds-promo--dark');
}

return toFragment`<div class="feds-promo-wrapper">
return toFragment`<div class="feds-promo-wrapper" daa-lh="promo-card">
${elem}
</div>`;
};
Expand Down

0 comments on commit 38a803f

Please sign in to comment.