From 03aa54457a4216f2ae0ef1d17b0a07db831aa4ff Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 24 Jun 2012 18:30:02 +0200 Subject: [PATCH] Fix #559. --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index b87a5158a..ec54a2ccf 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -690,7 +690,7 @@ return false; }, subject: function(post) { - return $('.subject', post.el).textContent || false; + return $('.postInfo .subject', post.el).textContent || false; }, comment: function(post) { var data, i, nodes, text, _i, _ref; diff --git a/script.coffee b/script.coffee index 1011edb75..c22ec6a3f 100644 --- a/script.coffee +++ b/script.coffee @@ -544,7 +544,7 @@ Filter = return mail.href[7..] false subject: (post) -> - $('.subject', post.el).textContent or false + $('.postInfo .subject', post.el).textContent or false comment: (post) -> text = [] # XPathResult.ORDERED_NODE_SNAPSHOT_TYPE is 7