title: Jquery: how to open external link in same window
body: <p>I have the following code set up to open a URL in a the same Window but requires two clicks to open, any idea's why? </p>
  
  <pre><code>            $('button.more-details-link').on("click",function(){
                  window.open(url, '_self')
              });
  </code></pre>