Skip to content

Commit

Permalink
fix: remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuzhy-Deriv committed Nov 18, 2024
1 parent a1a16b6 commit 8940026
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions public/scripts/intercom/v1.0.0.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
class DerivInterCom {
constructor({ userData = null, hideLauncher = true } = {}) {
console.log(userData);
this.userData = userData;
console.log(hideLauncher);

this.intercomConfig = {
app_id: "rfwdy059",
Expand Down Expand Up @@ -38,11 +36,9 @@ class DerivInterCom {
(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/rfwdy059';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(document.readyState==='complete'){l();}else if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();
`;
document.body.appendChild(script);
console.log('here')

window.isInterComExists = true;
Intercom("boot", this.intercomConfig);

};
}

Expand Down

0 comments on commit 8940026

Please sign in to comment.