Don't replace the classes of forward quotes.
This commit is contained in:
parent
fbfbe22271
commit
6f87b3ff14
@ -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 {
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user