From 98c5b8fb6ba62753ac6ce3bf20d13070059cd486 Mon Sep 17 00:00:00 2001 From: Dominic Sidiropoulos Date: Sun, 22 Nov 2020 14:22:33 +0200 Subject: [PATCH] fix (jqn-00001-employ-jquery-attr-for-url): done --- src/navigate.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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.