Skip to content

Commit 1619efc

Browse files
authored
fix(feedback): add a missing call of Actor.appendToDom method when DOMContentLoaded event is triggered (#12973)
Fixing a missing paranthesis to call `appendToDom` on `DOMContentLoaded` event. Fixes #12970
1 parent d629991 commit 1619efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/feedback/src/core/integration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export const buildFeedbackIntegration = ({
282282
}
283283

284284
if (DOCUMENT.readyState === 'loading') {
285-
DOCUMENT.addEventListener('DOMContentLoaded', () => _createActor().appendToDom);
285+
DOCUMENT.addEventListener('DOMContentLoaded', () => _createActor().appendToDom());
286286
} else {
287287
_createActor().appendToDom();
288288
}

0 commit comments

Comments
 (0)