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

touchend is never executed cause (!this.getCurrentRange) is never true #152

Open
sebawagner opened this issue Apr 27, 2020 · 0 comments
Open

Comments

@sebawagner
Copy link

There is as fix in:aa73cd3#diff-5533b3a46c8d44c5a0d1f3198ee1cd9a

But I don't think this fix works.
if(!this.getCurrentRange) is always false. Its never true. Cause "this" in this context refers to $ ( window ) and as such there will never be a method this.getCurrentRange.

I don't see quite what the code is supposed to achieve afterwards ? Even without invoking the method I don't see any change in bahviour.

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

1 participant