Closed aymanfarhat closed 11 years ago
You may add the data attribute data-ignore="true"
to your links so stack.js
ignores them. :)
Actually data-ignore doesn't seem to work, the only time when a tel in a hyperlink is working is when I totally remove stack.js from the page...
Really? That's odd. I'm pretty sure I only call preventDefault()
after it has checked the data-ignore
data attribute. I'll take a look at the code later today when I get the time.
Issue fixed https://github.com/jaunesarmiento/fries/pull/14
Hello I just noticed that the touch handler in stack.js , which is catching all touch events in the app has e.preventDefault() which is preventing default actions for some elements such as hyperlinks with telephones to open the dialer.
I can just remove it and make it work but what I am concerned about is whether removing it might interfere with the stack.js functionality, any thoughts regarding that? Thanks.