Skip to content

Commit

Permalink
Revert "Report all web vital metric changes (#949)"
Browse files Browse the repository at this point in the history
This reverts commit f25b1d4.
  • Loading branch information
ka3de committed Jul 11, 2023
1 parent 212dabc commit a9bbb79
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions common/js/web_vital_init.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@ function print(metric) {
}

function load() {
const reportAllChanges = {
reportAllChanges: true,
}
webVitals.onCLS(print, reportAllChanges);
webVitals.onFID(print, reportAllChanges);
webVitals.onLCP(print, reportAllChanges);
webVitals.onFCP(print, reportAllChanges);
webVitals.onINP(print, reportAllChanges);
webVitals.onTTFB(print, reportAllChanges);
webVitals.onCLS(print);
webVitals.onFID(print);
webVitals.onLCP(print);

webVitals.onFCP(print);
webVitals.onINP(print);
webVitals.onTTFB(print);
}

load();

0 comments on commit a9bbb79

Please sign in to comment.