Skip to content

Commit

Permalink
Merge pull request #156 from adobecom/fix-eager-lcp
Browse files Browse the repository at this point in the history
MWPW-139001 - Adjust LCP Image Loading
  • Loading branch information
meganthecoder authored Nov 13, 2023
2 parents bfa4bf2 + 6c8d885 commit 21a0bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const eagerLoad = (img) => {
};

(async function loadLCPImage() {
const marquee = document.querySelector('.marquee');
const marquee = document.querySelector('.marquee.split');
if (marquee) {
marquee.querySelectorAll('img').forEach(eagerLoad);
} else {
Expand Down

0 comments on commit 21a0bd3

Please sign in to comment.