Compare commits

..

No commits in common. "a8d1e68c084c62df9c356c6bc37c69e361662e1d" and "f99fae269d226a810fe6c8b28c84cec9120d8991" have entirely different histories.

3 changed files with 5 additions and 8 deletions

View file

@ -52,6 +52,10 @@ html, body {
} }
i, em {
font-style: italic;
}
header, footer { header, footer {
max-width: 1000px; max-width: 1000px;
padding-top: 16px; padding-top: 16px;

View file

@ -16,10 +16,6 @@ body {
outline: none; outline: none;
} }
i, em {
font-style: italic;
}
a { a {
color: var(--fg) color: var(--fg)
} }

View file

@ -112,10 +112,7 @@ 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 (href.startsWith(prefix)) {
href = href.slice(pandoraURL.length)
}
if (!pandoraURL && href.startsWith(prefix)) {
href = href.slice(prefix.length) href = href.slice(prefix.length)
} }
if (href.startsWith('/')) { if (href.startsWith('/')) {