Skip to content

Commit a2185d4

Browse files
Lms24coolguyzone
andauthored
Apply suggestions from code review
Co-authored-by: Alex Krawiec <[email protected]>
1 parent ab4997b commit a2185d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/platforms/javascript/common/configuration/integrations/browserapierrors.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ List of default event targets:
116116

117117
_Type: `boolean`_
118118

119-
Unregister the original callbacks of `EventTarget.addEventListener` callbacks.
119+
Unregister the original `EventTarget.addEventListener` callbacks.
120120
If you experience issues with this integration (or the SDK) causing double invocations of an `addEventListener` callback, set this option to `true`.
121121
This is usually a sign of the SDK being initialized too late in the lifecycle of the page.
122122
If this is the case, you might want to consider initializing the SDK as early as possible to avoid this issue.

docs/platforms/javascript/common/troubleshooting/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ Remember to pass in `true` as the second parameter to `addEventListener()`. With
393393
394394
<Expandable permalink title="SDK causes double invocations of `addEventListener` (e.g. duplicated click events)">
395395
396-
In very rare cases, the SDK can cause callbacks added via `addEventListener` to an event target (e.g. a button) to be invoked twice.
397-
This is usually a sign of the SDK being intialized too late in the lifecycle of the page. If you can, try initializing the SDK as earlier.
396+
In very rare cases, the SDK can cause callbacks added via `addEventListener` to an event target (such as a button) to be invoked twice.
397+
This is usually a sign of the SDK being intialized too late in the lifecycle of the page. If you can, try initializing the SDK earlier in your application.
398398
399399
If this is not possible or doesn't apply to your use case, set the `unregisterOriginalCallbacks` option in the [`browserApiErrors` integration](../configuration/integrations/browserapierrors) to `true`.
400400

0 commit comments

Comments
 (0)