Don't add the highlight class to the .thread. #491.

This commit is contained in:
Nicolas Stepien 2012-05-21 14:36:43 +02:00
parent d12c78ea39
commit 47c517efb1
2 changed files with 4 additions and 4 deletions

View File

@ -592,7 +592,7 @@
}
return;
}
$.addClass((isOP ? root.parentNode : root), result[0]);
$.addClass(root, result[0]);
if (isOP && result[1] && !g.REPLY) {
thisThread = root.parentNode;
if (firstThread = $('div[class=thread]')) {
@ -4533,7 +4533,7 @@ div.opContainer {\
margin: 0;\
padding: 0;\
}\
.filter_highlight.thread > .opContainer {\
.opContainer.filter_highlight {\
box-shadow: inset 5px 0 rgba(255,0,0,0.5);\
}\
.filter_highlight > .reply {\

View File

@ -475,7 +475,7 @@ Filter =
return
# Highlight
$.addClass (if isOP then root.parentNode else root), result[0]
$.addClass root, result[0]
if isOP and result[1] and not g.REPLY
# Put the highlighted OPs' thread on top of the board page...
thisThread = root.parentNode
@ -3533,7 +3533,7 @@ div.opContainer {
margin: 0;
padding: 0;
}
.filter_highlight.thread > .opContainer {
.opContainer.filter_highlight {
box-shadow: inset 5px 0 rgba(255,0,0,0.5);
}
.filter_highlight > .reply {