diff --git a/src/navigate.js b/src/navigate.js index 48943ac..dac5eaf 100644 --- a/src/navigate.js +++ b/src/navigate.js @@ -24,7 +24,10 @@ // Navigate directly to the URL provided. 'goTo': function (url) { // Ensure the referer is passed on the request. - $('')[0].click(); + $('') + .attr('href', url) + .get(0) + .click(); }, // Uses the params object to build the URL specified by the identifier, then navigates to it.