Preserve URL hash on wikiless redirection
This commit is contained in:
parent
982b0a643e
commit
07871281c3
|
@ -475,7 +475,7 @@ function redirect(url, type, initiator, forceRedirection) {
|
||||||
// wikiless doesn't have mobile view support yet
|
// 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]
|
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": {
|
case "proxiTok": {
|
||||||
if (url.pathname.startsWith('/email')) return
|
if (url.pathname.startsWith('/email')) return
|
||||||
|
|
Loading…
Reference in New Issue