diff --git a/app/static/js/utils.js b/app/static/js/utils.js index fdef11b..deecceb 100644 --- a/app/static/js/utils.js +++ b/app/static/js/utils.js @@ -112,7 +112,7 @@ const clickLink = function(event) { } var href = a.attributes.href.value var prefix = document.location.protocol + '//' + document.location.hostname - if (pandoraURL && href.startsWith(pandoraURL) { + if (pandoraURL && href.startsWith(pandoraURL)) { href = href.slice(pandoraURL.length) } if (!pandoraURL && href.startsWith(prefix)) {