title: jQuery onClick action doesn't trigger second time
body: <p>Based on a question answered earlier on SO, I've make this script which adds a CSS class to an element onClick. The problem is that it only works one time. How do I reset the function?</p>
  
  <p>This is the jQuery code: </p>
  
  <pre><code>jQuery(function() {
  jQuery('.close-button').click(function(){
      jQuery(".content-display").addClass("cover");
      jQuery(".close-button").addClass("cover");
  });
  
  jQuery('.project').click(function(){
      jQuery('.content-display').addClass("uncover");
      jQuery('.close-button').addClass("uncover");
      }); 
  });
  </code></pre>
  
  <p>And a <a href="http://jsfiddle.net/7p2Av/" rel="nofollow">fiddle</a> with everything. </p>