Skip to content

Commit

Permalink
Merge branch 'aymeric/cls-attribution-telemetry' into staging-43
Browse files Browse the repository at this point in the history
  • Loading branch information
amortemousque committed Oct 24, 2023
2 parents 53a0dda + 2a646dc commit 526515f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function trackCumulativeLayoutShift(
if (
isExperimentalFeatureEnabled(ExperimentalFeature.WEB_VITALS_ATTRIBUTION) &&
clsTarget &&
clsTarget.parentElement
clsTarget.isConnected
) {
const selectorComputationStart = relativeNow()
cslTargetSelector = getSelectorFromElement(clsTarget, configuration.actionNameAttribute)
Expand Down

0 comments on commit 526515f

Please sign in to comment.