diff --git a/src/Quotelinks/Quotify.coffee b/src/Quotelinks/Quotify.coffee index 959567894..a7d4f7f0f 100644 --- a/src/Quotelinks/Quotify.coffee +++ b/src/Quotelinks/Quotify.coffee @@ -26,7 +26,7 @@ Quotify = return if link.hostname is 'boards.4chan.org' boardID = m[1] threadID = m[2] - postID = link.hash.match(/^#p?(\d+)$|$/)[1] or threadID + postID = link.hash.match(/^#[pq]?(\d+)$|$/)[1] or threadID if Redirect.to 'post', {boardID, postID} $.addClass link, 'quotelink' $.extend link.dataset, {boardID, threadID, postID}