Merge pull request #635 from r-flash/patch-1

Preserve URL hash on wikiless redirection
This commit is contained in:
ManeraKai 2023-02-20 13:11:09 +00:00 committed by GitHub
commit b74a97b47e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ function redirect(url, type, initiator, forceRedirection) {
// wikiless doesn't have mobile view support yet
}
for (let i = 0; i < GETArguments.length; i++) link += (i == 0 ? "?" : "&") + GETArguments[i][0] + "=" + GETArguments[i][1]
return link
return link + url.hash
}
case "proxiTok": {
if (url.pathname.startsWith('/email')) return