From d14206f0e3d67253a54786d17e63e51527a6f58a Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Wed, 22 Feb 2012 02:55:36 +0100 Subject: [PATCH] God damn. --- 4chan_x.user.js | 2 +- changelog | 1 + script.coffee | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 1d2e90187..9aa513a0b 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -630,7 +630,7 @@ }, email: function(root) { var mail; - if (!(mail = $('.linkmail', root))) return mail.href; + if (mail = $('.linkmail', root)) return mail.href; return false; }, subject: function(root, isOP) { diff --git a/changelog b/changelog index 48881d608..0b9a5846d 100644 --- a/changelog +++ b/changelog @@ -3,6 +3,7 @@ master 2.27.1 - Mayhem Fix stubs with the new filter. + Fix mail filtering. The MD5 will now check for exact string matching, it will not use regular expressions. 2.27.0 diff --git a/script.coffee b/script.coffee index 4f54227fe..c9a59ba9f 100644 --- a/script.coffee +++ b/script.coffee @@ -544,7 +544,7 @@ filter = return trip.textContent false email: (root) -> - unless mail = $ '.linkmail', root + if mail = $ '.linkmail', root return mail.href false subject: (root, isOP) ->