Fix quote preview on archive page after recent site changes.
This commit is contained in:
parent
6281564344
commit
4f2f2c685c
@ -25,7 +25,7 @@ Get =
|
|||||||
path = link.pathname.split /\/+/
|
path = link.pathname.split /\/+/
|
||||||
boardID = path[1]
|
boardID = path[1]
|
||||||
threadID = path[3]
|
threadID = path[3]
|
||||||
postID = link.hash[2..]
|
postID = if link.hash then link.hash[2..] else path[3]
|
||||||
else # resurrected quote
|
else # resurrected quote
|
||||||
{boardID, threadID, postID} = link.dataset
|
{boardID, threadID, postID} = link.dataset
|
||||||
threadID or= 0
|
threadID or= 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user