Fix another comment

This commit is contained in:
Priere 2023-12-06 03:43:38 -05:00
parent e1a8bd333d
commit 5332f99a5a

View File

@ -36,7 +36,7 @@ function relativeURLFix() {
// special case: a relative anchor link to the current page
newHref += `/${path}/${url.href}`;
} else {
// any other relative link
// any other same origin link
// NOTE: this does strip off serialized queries and fragments
newHref += (url.pathname.endsWith('/') ? url.pathname : url.pathname + '/');
}