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

callback is allways called #1

Open
dschi opened this issue Dec 10, 2012 · 2 comments
Open

callback is allways called #1

dschi opened this issue Dec 10, 2012 · 2 comments

Comments

@dschi
Copy link

dschi commented Dec 10, 2012

Maybe I am getting something wrong, but this

if (!e.originalEvent.clickin || e.originalEvent.clickin !== id) {

will always evaluate to true, even if clickin has the same counter value. Since it is stored as an attribute it is a string.

This seems to work the way I understand it should:

if (!e.originalEvent.clickin || parseInt(e.originalEvent.clickin) !== id) {
@Ne-Ne
Copy link

Ne-Ne commented Jun 19, 2014

Has this been addressed?

@bnoreus
Copy link

bnoreus commented Dec 14, 2016

I'm having the same issue. Fixed it with parseInt.

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

No branches or pull requests

3 participants