Fix Quote Highlighting.

This commit is contained in:
No Face 2012-03-06 15:53:34 +01:00
parent 1cec99ba8f
commit 74cfc8349d
2 changed files with 2 additions and 2 deletions

View File

@ -3315,7 +3315,7 @@
_ref = $$('.quotelink', qp);
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
quote = _ref[_i];
if (quote.hash.slice(1) === replyID) $.addClass(quote, 'forwardlink');
if (quote.hash.slice(1) === replyID) quote.className = 'forwardlink';
}
}
} else {

View File

@ -2714,7 +2714,7 @@ QuotePreview =
replyID = $.x('preceding-sibling::input', @parentNode).name
for quote in $$ '.quotelink', qp
if quote.hash[1..] is replyID
$.addClass quote, 'forwardlink'
quote.className = 'forwardlink'
else
qp.textContent = "Loading #{id}..."
threadID = @pathname.split('/').pop() or $.x('ancestor::div[@class="thread"]', @).firstChild.id