Skip to content

Commit 7d2027a

Browse files
author
claud-io
committed
removed fid
1 parent 88e42a5 commit 7d2027a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

www/include/CrUX.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function InsertCruxHTML($fvRunResults, $metric = '')
4747
is_array($pageData['CrUX']) &&
4848
isset($pageData['CrUX']['metrics'])
4949
) {
50-
if (!$cruxStyles) {?>
50+
if (!$cruxStyles) { ?>
5151
<?php
5252
$cruxStyles = true;
5353
}
@@ -62,7 +62,6 @@ function InsertCruxHTML($fvRunResults, $metric = '')
6262
InsertCruxMetricHTML($pageData, 'chromeUserTiming.firstContentfulPaint', 'first_contentful_paint', 'First Contentful Paint', 'FCP');
6363
InsertCruxMetricHTML($pageData, 'chromeUserTiming.LargestContentfulPaint', 'largest_contentful_paint', 'Largest Contentful Paint', 'LCP');
6464
InsertCruxMetricHTML($pageData, 'chromeUserTiming.CumulativeLayoutShift', 'cumulative_layout_shift', 'Cumulative Layout Shift', 'CLS');
65-
InsertCruxMetricHTML($pageData, null, 'first_input_delay', 'First Input Delay', 'FID');
6665
InsertCruxMetricHTML($pageData, 'TTFB', 'experimental_time_to_first_byte', 'Time to First Byte', 'TTFB');
6766
InsertCruxMetricHTML($pageData, null, 'interaction_to_next_paint', 'Interaction to Next Paint', 'INP');
6867
} elseif ($metric == 'fcp') {
@@ -222,4 +221,4 @@ function GetCruxValuePosition($value, $maxVal, $histogram, $width, &$color)
222221
$color = '#ff4e42';
223222
}
224223
return intval($pos);
225-
}
224+
}

0 commit comments

Comments
 (0)