This commit is contained in:
Nicolas Stepien 2012-02-29 19:03:40 +01:00
parent 795032c265
commit 154cec7ee0
2 changed files with 13 additions and 4 deletions

View File

@ -584,7 +584,11 @@
return false; return false;
} }
if (hl) { if (hl) {
$.addClass(root, hl); if (isOP) {
$.addClass(root, hl);
} else {
$.addClass(root.parentNode, hl);
}
if (isOP && top && !g.REPLY) { if (isOP && top && !g.REPLY) {
thisThread = root.parentNode; thisThread = root.parentNode;
if (firstThread = $('div[class=op]')) { if (firstThread = $('div[class=op]')) {
@ -4268,7 +4272,8 @@ td > .filesize > img[md5] {\
.filetitle, .replytitle, .postername, .commentpostername, .postertrip {\ .filetitle, .replytitle, .postername, .commentpostername, .postertrip {\
background: none;\ background: none;\
}\ }\
.filter_highlight {\ .filter_highlight.op,\
.filter_highlight > td[id] {\
box-shadow: -5px 0 rgba(255,0,0,0.5);\ box-shadow: -5px 0 rgba(255,0,0,0.5);\
}\ }\
.filtered {\ .filtered {\

View File

@ -509,7 +509,10 @@ filter =
else unless regexp.test value else unless regexp.test value
return false return false
if hl if hl
$.addClass root, hl if isOP
$.addClass root, hl
else
$.addClass root.parentNode, hl
if isOP and top and not g.REPLY if isOP and top and not g.REPLY
# Put the highlighted OPs' threads on top of the board pages... # Put the highlighted OPs' threads on top of the board pages...
thisThread = root.parentNode thisThread = root.parentNode
@ -3557,7 +3560,8 @@ td > .filesize > img[md5] {
.filetitle, .replytitle, .postername, .commentpostername, .postertrip { .filetitle, .replytitle, .postername, .commentpostername, .postertrip {
background: none; background: none;
} }
.filter_highlight { .filter_highlight.op,
.filter_highlight > td[id] {
box-shadow: -5px 0 rgba(255,0,0,0.5); box-shadow: -5px 0 rgba(255,0,0,0.5);
} }
.filtered { .filtered {