From bdad22607809103ffa0ac14f25bb09df0754e99a Mon Sep 17 00:00:00 2001 From: Daniel Silva Date: Wed, 24 Apr 2024 13:42:46 +0200 Subject: [PATCH] changing function to init only if it's not initialized --- src/libs/fullstory/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/fullstory/index.ts b/src/libs/fullstory/index.ts index 9acced9bdb54..5b60f20f9ddf 100644 --- a/src/libs/fullstory/index.ts +++ b/src/libs/fullstory/index.ts @@ -34,7 +34,7 @@ const FS = { return; } // Initialised via HEAD snippet - if (isInitialized()) { + if (!isInitialized()) { init({orgId: ''}, resolve); } else { FullStory('observe', {type: 'start', callback: resolve});