I am using the Add This plugin on my site and would like to customise the email button to go to my own contact page. Add This doesn't seem to give that functionality, so I'm trying to do it with JS.
I can't seem to stop the default Add This popup from firing. Does anyone know how I could do it?
preventDefault, stopImmediatePropagation, and stopPropagation don't seem to stop it. Maybe because they are JQuery and the Add This event is native JS?
Here's the code I'm using:
$('body').on('click', '.at-svc-email', function(e) {
e.preventDefault();
e.stopPropagation();
alert('test');
});
The alert comes up, followed by the Add This popup.