From 71cdaabc48cba348547859cd86c5f9637ff6c780 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Tue, 3 Jul 2012 18:06:01 +0200 Subject: [PATCH] Fix md5 auto-filtering. cursor: pointer; --- 4chan_x.user.js | 5 ++++- script.coffee | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index d2ec34fa1..8d789900f 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -793,7 +793,9 @@ return "\\" + c; } }); - re = "/^" + re + "$/"; + if (type !== 'md5') { + re = "/^" + re + "$/"; + } if (/\bop\b/.test(post["class"])) { re += ';op:yes'; } @@ -5122,6 +5124,7 @@ a[href="javascript:;"] {\ }\ .entry {\ border-bottom: 1px solid rgba(0, 0, 0, .25);\ + cursor: pointer;\ display: block;\ outline: none;\ padding: 3px 7px;\ diff --git a/script.coffee b/script.coffee index 56c811150..84f86e394 100644 --- a/script.coffee +++ b/script.coffee @@ -656,7 +656,7 @@ Filter = else "\\#{c}" - re = "/^#{re}$/" + re = "/^#{re}$/" unless type is 'md5' if /\bop\b/.test post.class re += ';op:yes' @@ -4023,6 +4023,7 @@ a[href="javascript:;"] { } .entry { border-bottom: 1px solid rgba(0, 0, 0, .25); + cursor: pointer; display: block; outline: none; padding: 3px 7px;