Merge pull request #635 from r-flash/patch-1
Preserve URL hash on wikiless redirection
This commit is contained in:
commit
b74a97b47e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue