mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 05:28:41 +00:00
Fix another comment
This commit is contained in:
parent
e1a8bd333d
commit
5332f99a5a
@ -36,7 +36,7 @@ function relativeURLFix() {
|
|||||||
// special case: a relative anchor link to the current page
|
// special case: a relative anchor link to the current page
|
||||||
newHref += `/${path}/${url.href}`;
|
newHref += `/${path}/${url.href}`;
|
||||||
} else {
|
} else {
|
||||||
// any other relative link
|
// any other same origin link
|
||||||
// NOTE: this does strip off serialized queries and fragments
|
// NOTE: this does strip off serialized queries and fragments
|
||||||
newHref += (url.pathname.endsWith('/') ? url.pathname : url.pathname + '/');
|
newHref += (url.pathname.endsWith('/') ? url.pathname : url.pathname + '/');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user