Fix quote preview on archive page after recent site changes.

This commit is contained in:
ccd0 2017-02-10 20:25:31 -08:00
parent 6281564344
commit 4f2f2c685c

View File

@ -25,7 +25,7 @@ Get =
path = link.pathname.split /\/+/
boardID = path[1]
threadID = path[3]
postID = link.hash[2..]
postID = if link.hash then link.hash[2..] else path[3]
else # resurrected quote
{boardID, threadID, postID} = link.dataset
threadID or= 0