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 touch-pointer remove process #89

Merged

Conversation

devrasec
Copy link

@devrasec devrasec commented Oct 3, 2020

The init method was called twice, resulting in the creation of 2 pointers, and the "remove" method only removes one of them, the one returned by getElementById which only returns the first element found.

This PR solves this issue by preventing plugins from being reinitialized.

Fixes #81

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

Successfully merging this pull request may close these issues.

2 participants