Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/performance.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ function getRawLcpElement(rawDoc, lcpUrl) {
src = i.getAttribute('href');
}

return src == lcpUrl;
return new URL(src, location.href).href == lcpUrl;
});

// lcp_elem_stats will match the img, not the source.
Expand Down