mailto: URL not working in jQuery bound event handler
<p>I have an icon that when clicked will fire off a <code>mailto:</code> URL. Seems simple enough, but it's not working. When debugging I click the icon and the event handler does fire and executes the code within it, but then does nothing.  Why doesn't this work?</p>

<pre><code>&lt;i id="email-icon" class="fa fa-envelope"&gt;&lt;/i&gt;
</code></pre>

<pre class="lang-js prettyprint-override"><code>$("#email-icon").on("click", function () {
    window.location.href = "mailto:mail@example.org";
});
</code></pre>

<p>I have a feeling the event is getting canceled in jQuery somehow?</p>