Add a / to foolfukka path redirection.
That'll avoid reloading a page when clicking on `No.` to highlight a post.
This commit is contained in:
parent
5dd219118d
commit
763311f7dd
@ -4899,6 +4899,9 @@
|
||||
postID = postID.match(/\d+/)[0];
|
||||
}
|
||||
path = threadID ? "" + board + "/thread/" + threadID : "" + board + "/post/" + postID;
|
||||
if (archiver === 'foolfuuka') {
|
||||
path += '/';
|
||||
}
|
||||
if (threadID && postID) {
|
||||
path += archiver === 'foolfuuka' ? "#" + postID : "#p" + postID;
|
||||
}
|
||||
|
||||
@ -3988,6 +3988,8 @@ Redirect =
|
||||
"#{board}/thread/#{threadID}"
|
||||
else
|
||||
"#{board}/post/#{postID}"
|
||||
if archiver is 'foolfuuka'
|
||||
path += '/'
|
||||
if threadID and postID
|
||||
path +=
|
||||
if archiver is 'foolfuuka'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user