title: jQuery hasClass conditional
body: <p>The conditional should be met only if the clicked element has no class <code>agallery</code> or <code>aslide</code>. This is not working for me. </p>
  
  <pre><code>if(!$(this).hasClass('agallery') || !$(this).hasClass('aslide')){
    //do certain things
  }
  </code></pre>