Skip to content

Commit

Permalink
changing function to init only if it's not initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldoglas committed Apr 24, 2024
1 parent 6699362 commit bdad226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/fullstory/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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});
Expand Down

0 comments on commit bdad226

Please sign in to comment.