preventDefault should come after false target check 

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.