fix(website): remove invalid escape sequence syntax error in web-vitals.js
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
// Load web-vitals from CDN
|
// Load web-vitals from CDN
|
||||||
const script = document.createElement('script');
|
const script = document.createElement('script');
|
||||||
script.src = 'https://unpkg.com/web-vitals@3/dist/web-vitals.iife.js'\;
|
script.src = 'https://unpkg.com/web-vitals@3/dist/web-vitals.iife.js';
|
||||||
script.onload = function() {
|
script.onload = function() {
|
||||||
if (window.webVitals) {
|
if (window.webVitals) {
|
||||||
window.webVitals.onCLS(sendToAnalytics);
|
window.webVitals.onCLS(sendToAnalytics);
|
||||||
|
|||||||
Reference in New Issue
Block a user