Compare commits
No commits in common. "a8d1e68c084c62df9c356c6bc37c69e361662e1d" and "f99fae269d226a810fe6c8b28c84cec9120d8991" have entirely different histories.
a8d1e68c08
...
f99fae269d
3 changed files with 5 additions and 8 deletions
|
|
@ -52,6 +52,10 @@ html, body {
|
|||
}
|
||||
|
||||
|
||||
i, em {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
header, footer {
|
||||
max-width: 1000px;
|
||||
padding-top: 16px;
|
||||
|
|
|
|||
|
|
@ -16,10 +16,6 @@ body {
|
|||
outline: none;
|
||||
}
|
||||
|
||||
i, em {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--fg)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -112,10 +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) {
|
||||
href = href.slice(pandoraURL.length)
|
||||
}
|
||||
if (!pandoraURL && href.startsWith(prefix)) {
|
||||
if (href.startsWith(prefix)) {
|
||||
href = href.slice(prefix.length)
|
||||
}
|
||||
if (href.startsWith('/')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue