title: My jquery code is conflicting with my links?
body: <p>My jquery code is conflicting with  my links, causing them not to open in a new window "target=_blank"?</p>
  
  <pre><code> onReady:function(){
            $('a').click(function(event) {
              event.preventDefault();
              CookieControl.setConsent(true);
              CookieControl.closeAndHide();
              window.location = $(this).attr('href');
            });      
   },
  </code></pre>
  
  <p>The affected links are <code>&lt;a href="www.google.com" target="_blank"&gt;Link&lt;/a&gt;</code></p>