Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Removing existing listeners before language change then re-add #132 #133

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

ethan-lp
Copy link
Contributor

Addresses - #132

Removes all event listeners with removeEventListeners() to prevent duplicate listeners and multiple xAPI statements when changing languages, then re-adds all event listners.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

@oliverfoster oliverfoster merged commit ae8da86 into master Sep 27, 2024
@oliverfoster oliverfoster deleted the issue/132 branch September 27, 2024 11:01
github-actions bot pushed a commit that referenced this pull request Sep 27, 2024
## [1.1.9](v1.1.8...v1.1.9) (2024-09-27)

### Fix

* Removing existing listeners before language change then re-add #132 (#133) ([ae8da86](ae8da86)), closes [#132](#132) [#133](#133)
Copy link

🎉 This PR is included in version 1.1.9 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants