From 51d2646bdbe33ec08b5d6fe2e89261e5d050f2cf Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Tue, 10 May 2011 16:35:21 +0200 Subject: [PATCH] Proper backlink position for the OP --- 4chan_x.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index 5275ac7a9..5b6ac46b4 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -1705,7 +1705,7 @@ $.bind(link, 'mousemove', ui.hover); $.bind(link, 'mouseout', ui.hoverend); } - _results.push($.before($('br, blockquote', el), link)); + _results.push($.before($('.op > blockquote, td > br, td > blockquote', el.parentNode), link)); } return _results; } diff --git a/script.coffee b/script.coffee index 9554ab5a4..f7aac8e33 100644 --- a/script.coffee +++ b/script.coffee @@ -1366,7 +1366,7 @@ quoteBacklink = $.bind link, 'mouseover', quotePreview.mouseover $.bind link, 'mousemove', ui.hover $.bind link, 'mouseout', ui.hoverend - $.before $('br, blockquote', el), link + $.before $('.op > blockquote, td > br, td > blockquote', el.parentNode), link quotePreview = init: ->