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

release listeners are not being removed #11

Closed
httpete-ire opened this issue Aug 11, 2015 · 0 comments
Closed

release listeners are not being removed #11

httpete-ire opened this issue Aug 11, 2015 · 0 comments
Labels

Comments

@httpete-ire
Copy link
Owner

the release listeners are not be removed when the release event triggers, the release listener is also getting duplicated every time the handler is clicked.

$document.on(eventConfig.release, removeListeners.bind(null, eventConfig));

I think the reason for this is that the .bind method returns a new function which does not match the listener function.

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

No branches or pull requests

1 participant