How can I limit an onclick event to not work if the link has a certain class name?
<p>I have the following JQuery:</p>

<pre><code>                $("#content-button-panel")
                       .on('click', 'a', function (event) {
                           event.preventDefault();
                           var $link = $(this);
                           ServerFunctions.getContentAjax($link);
                       });
</code></pre>

<p>How can I make this work only when the links do not have a class of "folder"?</p>
