Let the filter add more than one highlight class.

This commit is contained in:
Nicolas Stepien 2012-02-21 15:10:35 +01:00
parent b0d8e84926
commit f02688bd0a
2 changed files with 3 additions and 0 deletions

View File

@ -576,6 +576,7 @@
$.before(firstThread.parentNode, [thisThread, thisThread.nextElementSibling]);
}
}
return false;
} else if (isOP) {
if (!g.REPLY) threadHiding.hideHide(root.parentNode);
} else {

View File

@ -491,6 +491,8 @@ filter =
# ...before the first non highlighted thread.
if firstThread = $ 'div[class=op]'
$.before firstThread.parentNode, [thisThread, thisThread.nextElementSibling]
# Continue the filter lookup to add more classes or hide it.
return false
else if isOP
unless g.REPLY
threadHiding.hideHide root.parentNode