Don't replace the classes of forward quotes.

This commit is contained in:
Nicolas Stepien 2012-03-04 21:55:26 +01:00
parent fbfbe22271
commit 6f87b3ff14
2 changed files with 2 additions and 2 deletions

View File

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

View File

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