• Alex AnderAlex Ander, 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, 6 years ago (edited 6 years ago )
      $("a[href^='mailto']").on('click', function(e){ if(!confim("Are you sure you wanna email")){ e.preventDefault(); } });
      4 points