• Alex AnderAlex Ander, almost 6 years ago

    You don't even need to do that. It's like three lines of JS if you're not interested in making a general solution. Just a click bind and an alert.

    1 point
    • Will FroelichWill Froelich, almost 6 years ago (edited almost 6 years ago )
      $("a[href^='mailto']").on('click', function(e){ if(!confim("Are you sure you wanna email")){ e.preventDefault(); } });
      4 points