links to source site should continue to work
This commit is contained in:
parent
1bd430bda5
commit
8b23fc7db5
1 changed files with 2 additions and 0 deletions
|
|
@ -112,9 +112,11 @@ const clickLink = function(event) {
|
||||||
}
|
}
|
||||||
var href = a.attributes.href.value
|
var href = a.attributes.href.value
|
||||||
var prefix = document.location.protocol + '//' + document.location.hostname
|
var prefix = document.location.protocol + '//' + document.location.hostname
|
||||||
|
/*
|
||||||
if (pandoraURL && href.startsWith(pandoraURL)) {
|
if (pandoraURL && href.startsWith(pandoraURL)) {
|
||||||
href = href.slice(pandoraURL.length)
|
href = href.slice(pandoraURL.length)
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
if (!pandoraURL && href.startsWith(prefix)) {
|
if (!pandoraURL && href.startsWith(prefix)) {
|
||||||
href = href.slice(prefix.length)
|
href = href.slice(prefix.length)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue