Fix class of filtered backlinks.
This commit is contained in:
parent
6038e06ef6
commit
359d508c30
@ -3052,7 +3052,7 @@
|
|||||||
}
|
}
|
||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
href: "#p" + post.id,
|
href: "#p" + post.id,
|
||||||
className: post.root.hidden ? 'filtered backlink' : 'backlink',
|
className: post.el.hidden ? 'filtered backlink' : 'backlink',
|
||||||
textContent: QuoteBacklink.funk(post.id)
|
textContent: QuoteBacklink.funk(post.id)
|
||||||
});
|
});
|
||||||
for (qid in quotes) {
|
for (qid in quotes) {
|
||||||
@ -3373,7 +3373,7 @@
|
|||||||
textContent: "" + quote + "\u00A0(Dead)"
|
textContent: "" + quote + "\u00A0(Dead)"
|
||||||
}));
|
}));
|
||||||
if (board === g.BOARD && $.id(id)) {
|
if (board === g.BOARD && $.id(id)) {
|
||||||
a.href = "#" + id;
|
a.href = "#p" + id;
|
||||||
a.className = 'quotelink';
|
a.className = 'quotelink';
|
||||||
a.setAttribute('onclick', "replyhl('" + id + "');");
|
a.setAttribute('onclick', "replyhl('" + id + "');");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -2380,7 +2380,7 @@ QuoteBacklink =
|
|||||||
quotes[qid] = true
|
quotes[qid] = true
|
||||||
a = $.el 'a',
|
a = $.el 'a',
|
||||||
href: "#p#{post.id}"
|
href: "#p#{post.id}"
|
||||||
className: if post.root.hidden then 'filtered backlink' else 'backlink'
|
className: if post.el.hidden then 'filtered backlink' else 'backlink'
|
||||||
textContent: QuoteBacklink.funk post.id
|
textContent: QuoteBacklink.funk post.id
|
||||||
for qid of quotes
|
for qid of quotes
|
||||||
# Don't backlink the OP.
|
# Don't backlink the OP.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user