diff --git a/public/scripts/freshchat-poc.js b/public/scripts/freshchat-poc.js index 0378b9eade3a8..0a988419ab7c5 100644 --- a/public/scripts/freshchat-poc.js +++ b/public/scripts/freshchat-poc.js @@ -169,6 +169,8 @@ class FreshChat { window.fcWidget.user.clear(); }); } + } else { + _this.clean(); } // Track user interaction @@ -196,7 +198,6 @@ class FreshChat { _this.dispatchAction(); }, 50); } else { - console.log("fc loaded!"); this.actions.map((action) => { action?.(); });