Basically I have a bunch of hotspots on a map - here is what is supposed to happen.
When on a computer -
If you hover over the hotspot, some text shows.
If you click the hotspot, you go straight to a URL.
When on a a tablet/phone -
If you touch the same hotspot some different text shows.
You DO NOT get taken to the URL.
The problem is when on a tablet and I touch a link I cannot seem to stop the url redirecting.
I've tried preventDefault(); but I can't get it to stop the redirection on a smartphone.
Here is the inline code I'm having trouble with. Any help would be amazing, thanks.