Fix md5 auto-filtering. cursor: pointer;

This commit is contained in:
Nicolas Stepien 2012-07-03 18:06:01 +02:00
parent 76d56e3f70
commit 71cdaabc48
2 changed files with 6 additions and 2 deletions

View File

@ -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;\

View File

@ -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;