javascript: silence Crisp warning in Javascript console
This commit is contained in:
parent
d775537fe8
commit
5949266e89
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
Add a link
Reference in a new issue