Fix forward links for Firefox. WTF is wrong with that browser, seriously.
This commit is contained in:
parent
3fa6bab8ed
commit
f09bfa48e2
@ -2486,7 +2486,7 @@
|
||||
qp.innerHTML = el.innerHTML;
|
||||
if (conf['Quote Highlighting']) $.addClass(el, 'qphl');
|
||||
if (/\bbacklink\b/.test(this.className)) {
|
||||
replyID = $.x('preceding::input', this).name;
|
||||
replyID = $.x('preceding-sibling::input', this.parentNode).name;
|
||||
_ref = $$('.quotelink', qp);
|
||||
_results = [];
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
|
||||
@ -1936,7 +1936,7 @@ quotePreview =
|
||||
qp.innerHTML = el.innerHTML
|
||||
$.addClass el, 'qphl' if conf['Quote Highlighting']
|
||||
if /\bbacklink\b/.test @className
|
||||
replyID = $.x('preceding::input', @).name
|
||||
replyID = $.x('preceding-sibling::input', @parentNode).name
|
||||
for quote in $$ '.quotelink', qp
|
||||
if quote.hash[1..] is replyID
|
||||
quote.className = 'forwardlink'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user