title: Trigger action on Div click but not while clicking links inside that Div
body: <p>I want to toggle a class of a DIV by clicking on it, but not while clicking a link inside that DIV.</p>
  
  <p>I tried this but it toggle the class even when a link is clicked:</p>
  
  <pre><code>$("ol.compacted .tl_general:not(a)").click(function () {
      $(this).toggleClass("re-expanded");
  });
  </code></pre>
  
  <p>What could I do? Thanks in advance!</p>