From 4f2f2c685c4a9204ec71e0af43d969682b2cda30 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Fri, 10 Feb 2017 20:25:31 -0800 Subject: [PATCH] Fix quote preview on archive page after recent site changes. --- src/General/Get.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/General/Get.coffee b/src/General/Get.coffee index 555b468c4..bad4c3752 100644 --- a/src/General/Get.coffee +++ b/src/General/Get.coffee @@ -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