Merge pull request #5308 from betagouv/fix-crisp-warning
Suppression d'un avertissement de Crisp dans la console Javascript
This commit is contained in:
commit
cacdb92e20
1 changed files with 3 additions and 0 deletions
|
@ -40,4 +40,7 @@ if (enabled) {
|
||||||
'session:event',
|
'session:event',
|
||||||
[[['PAGE_VIEW', { URL: window.location.pathname }]]]
|
[[['PAGE_VIEW', { URL: window.location.pathname }]]]
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
// Prevent Crisp to log warnings about Sentry overriding document.addEventListener
|
||||||
|
window.$crisp.push(['safe', true]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue