From a9bbb7925127bdbedd53e2c3921494a6771ee882 Mon Sep 17 00:00:00 2001 From: ka3de Date: Tue, 11 Jul 2023 11:51:09 +0200 Subject: [PATCH] Revert "Report all web vital metric changes (#949)" This reverts commit f25b1d427af756b58a1a424bf66f735b0d710ad5. --- common/js/web_vital_init.js | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/common/js/web_vital_init.js b/common/js/web_vital_init.js index 204d63a5b..d59d7f553 100644 --- a/common/js/web_vital_init.js +++ b/common/js/web_vital_init.js @@ -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();