mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 05:38:35 +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
|
||||
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 + '/');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user