diff --git a/4chan_x.user.js b/4chan_x.user.js index b58b878f4..050ccaad1 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3443,7 +3443,7 @@ id: "i" + postID, className: el ? 'inline' : 'inline crosspost' }); - root = (isBacklink = /\bbacklink\b/.test(q.className)) ? q.parentNode : $.x('ancestor::*[parent::blockquote][1]', q); + root = (isBacklink = /\bbacklink\b/.test(q.className)) ? q.parentNode : $.x('ancestor-or-self::*[parent::blockquote][1]', q); $.after(root, inline); Get.post(board, threadID, postID, inline); if (!el) { diff --git a/script.coffee b/script.coffee index 442e845cd..cfb66e5ae 100644 --- a/script.coffee +++ b/script.coffee @@ -2687,7 +2687,7 @@ QuoteInline = if isBacklink = /\bbacklink\b/.test q.className q.parentNode else - $.x 'ancestor::*[parent::blockquote][1]', q + $.x 'ancestor-or-self::*[parent::blockquote][1]', q $.after root, inline Get.post board, threadID, postID, inline