jaunesarmiento / fries

Fries helps you prototype Android apps using HTML, CSS, and JavaScript.
MIT License
1.55k stars 222 forks source link

preventDefault should come after false target check #14

Closed aymanfarhat closed 11 years ago

aymanfarhat commented 11 years ago

I was having issued with allowing the default execution of a "tel" hyperlink, despite setting data-ignore to true. I changed the location of the preventDefault statement to execute after the check for a false target and not before that and it worked for me.

jaunesarmiento commented 11 years ago

Thanks @aymanfarhat!

aymanfarhat commented 11 years ago

Your welcome, you can close my last issue now :)