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) ->