Closed kimasendorf closed 6 years ago
I am using Backbone router which makes it neccesary to preventDefault on hyperlinks. When I change 'tap' to 'click' it works like expected.
$(document).on('tap', 'a.bb', function(event) { event.preventDefault(); console.log('CLICK'); var href = $(this).attr('href'); Backbone.history.navigate(href, true); });
You can use e.originalEvent.preventDefault() I guess
e.originalEvent.preventDefault()
Nope, I tried that..
i am closing this issue because there is no default behavior for tocca events so prevent default doesn't make really sense
I am using Backbone router which makes it neccesary to preventDefault on hyperlinks. When I change 'tap' to 'click' it works like expected.