javascript: silence Crisp warning in Javascript console

This commit is contained in:
Pierre de La Morinerie 2020-06-26 13:02:02 +00:00
parent d775537fe8
commit 5949266e89

View file

@ -40,4 +40,7 @@ if (enabled) {
'session:event',
[[['PAGE_VIEW', { URL: window.location.pathname }]]]
]);
// Prevent Crisp to log warnings about Sentry overriding document.addEventListener
window.$crisp.push(['safe', true]);
}