title: jQuery: Prevent jump on <a> tag if href only contains #
body: <p>If an a tag has a hash set in the href, I want to prevent it to jump page to top upon click. So if user clicks on:</p>
  
  <pre><code>&lt;a href="#"&gt;Hello&lt;/a&gt;
  </code></pre>
  
  <p>Nothing should happen.</p>
  
  <p>However: </p>
  
  <pre><code>&lt;a href="#target"&gt;Lorem&lt;/a&gt;
  </code></pre>
  
  <p>Should work as normal behavior. </p>