title: Compare 'e.target' to a jQuery object
body: <p>What I want to do:</p>
  
  <pre><code>( clickedObject === someDiv ) //returns true or false
  </code></pre>
  
  <p>What I tried</p>
  
  <pre><code>( $(e.target) === $('.selector') ); //returns a false negative.
  </code></pre>
  
  <p>My workaround</p>
  
  <pre><code>( $(e.target).attr('class') === $('.selector').attr('class') ); //works as intended, not so clean though.
  </code></pre>
  
  <p>What is the right way to compare the object I clicked to an object in the DOM?</p>