Closed EmrahAkdeniz closed 9 years ago
Do you have a code example, say a gist or a repo, I can use? It will help me get to it sooner...
To explain in detail, in configureSwipe event, "_this.div.find('a').addClass('fr-no-click');" is being executed so all links in child divs are marked with class 'fr-no-click'.
In "cancelClick" event:
if ($(this).hasClass('fr-no-click')) { event.preventDefault(); return false; }
prevents link click. I am using latest "jquery.touchSwipe.min.js" If I don't include this lib, links work fine,
Thanks for finding this @EmrahAkdeniz. I've just posted a new release (0.1.15) with a fix. It should take care of the problem.
Hi. When I include TouchSwipe library in the page, link clicks are prevented. How can I click links while swipe is active? Because the page is accesible by both mobile and desktop users. Thanks.