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

d.preventDefault is not a function #34

Open
a6051529 opened this issue Jun 11, 2015 · 8 comments
Open

d.preventDefault is not a function #34

a6051529 opened this issue Jun 11, 2015 · 8 comments

Comments

@a6051529
Copy link

when I write" $('.xxx').on('tap', function(){
// dosmothing;
return false;
}) "
it's d.preventDefault is not a function;

@ezhlobo
Copy link
Collaborator

ezhlobo commented Jun 11, 2015

@a6051529 I can't reproduce. Please share your example (via jsbin.com or jsfiddle.net).

@pukhalski
Copy link
Owner

@a6051529, here's your case: http://jsfiddle.net/5ffwgLj6/2/.

Works perfectly in all the modern browsers. Could you please update us with the info on the browser/OS/device you're testing on?

Thanks.

@a6051529
Copy link
Author

@pukhalski @ezhlobo I use zepto.js for seajs,The seajs is an AMD Module Loader,When I use zepto.js not zepto.js for seajs ,it is OK!,When I use zepto.js for seajs, It is d.preventDefault is not a function;

@pukhalski
Copy link
Owner

Thanks, @a6051529, for a very specific case. Let me check it out.

@a6051529
Copy link
Author

@pukhalski Thanks, very much

@jsor
Copy link

jsor commented Mar 9, 2016

I've discovered the same error when enabling touch events in the Firefox Developer Edition's Responsive Design Mode.

@pukhalski
Copy link
Owner

@jsor, what version do you use?

@ezhlobo, could you please advise?

@jsor
Copy link

jsor commented Mar 10, 2016

tapjs@1.0.7 from npm (1.0.8 isn't available yet), Firefox 46.0a2 (2016-03-07).

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

4 participants