From f24285a5f073d58a3928b2984a3a0d66d0616e87 Mon Sep 17 00:00:00 2001 From: Kushagra Gour Date: Sat, 4 May 2024 23:55:04 +0530 Subject: [PATCH] remove logs --- src/components/ContentWrap.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/ContentWrap.jsx b/src/components/ContentWrap.jsx index 17ee8d5..f3ba9a0 100644 --- a/src/components/ContentWrap.jsx +++ b/src/components/ContentWrap.jsx @@ -160,7 +160,6 @@ export default class ContentWrap extends Component { trackEvent('fn', 'hasCode'); trackEvent.hasTrackedCode = true; } - console.log('writing start', html); if (shouldInlineJs) { if (this.detachedWindow) { @@ -195,7 +194,7 @@ export default class ContentWrap extends Component { // console.log('setting back sandbox attr', sandbox); // this.frame.setAttribute('sandbox', cachedSandboxAttribute); // this.frame.removeAttribute('sweet'); - console.log('sending postmessage', html); + if (window.IS_EXTENSION) { this.frame.contentDocument.open(); this.frame.contentDocument.write(contents);