From 782fe3c69016ed9c510fb2dd4505ea669d5de7bb Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 8 Jan 2015 19:35:24 -0800 Subject: [PATCH] Revert "Fix quotelinks on /pol/." This reverts commit ae3e7eaef315e4beda88ef53bbb273c2cbd479be. Conflicts: src/Quotelinks/Quotify.coffee --- src/Quotelinks/Quotify.coffee | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/Quotelinks/Quotify.coffee b/src/Quotelinks/Quotify.coffee index c0350dcbc..6c24bed55 100755 --- a/src/Quotelinks/Quotify.coffee +++ b/src/Quotelinks/Quotify.coffee @@ -1,6 +1,6 @@ Quotify = init: -> - return if g.VIEW not in ['index', 'thread'] or !Conf['Resurrect Quotes'] and g.BOARD.ID isnt 'pol' + return if g.VIEW not in ['index', 'thread'] or !Conf['Resurrect Quotes'] if Conf['Comment Expansion'] ExpandComment.callbacks.push @node @@ -58,16 +58,7 @@ Quotify = $.extend a.dataset, {boardID, threadID: post.thread.ID, postID} - else if @board.ID is boardID is 'pol' and postID.length is 9 and postID[-2] is postID[-1] - # XXX Misquotes due to fake doubles on /pol/. Assume they are all intra-thread. - postID = postID[...-1] - quoteID = "#{boardID}.#{postID}" - a = $.el 'a', - href: Build.postURL boardID, @thread.ID, postID - className: 'quotelink' - textContent: quote - - else if Conf['Resurrect Quotes'] + else redirect = Redirect.to 'thread', {boardID, threadID: 0, postID} fetchable = Redirect.to 'post', {boardID, postID} if redirect or fetchable