fix: remove invasive configs (#1555)

This commit is contained in:
Ankush Menat
2025-06-02 19:04:55 +05:30
committed by GitHub
parent 9b820594ef
commit 4f1d4d90d0

View File

@@ -67,17 +67,9 @@ function capture(
}
function startRecording() {
if (!isTelemetryEnabled()) return
if (window.posthog?.__loaded) {
window.posthog.startSessionRecording()
}
}
function stopRecording() {
if (!isTelemetryEnabled()) return
if (window.posthog?.__loaded && window.posthog.sessionRecordingStarted()) {
window.posthog.stopSessionRecording()
}
}
// Posthog Plugin