Fix class of filtered backlinks.

This commit is contained in:
Nicolas Stepien 2012-05-01 17:17:41 +02:00
parent 6038e06ef6
commit 359d508c30
2 changed files with 3 additions and 3 deletions

View File

@ -3052,7 +3052,7 @@
}
a = $.el('a', {
href: "#p" + post.id,
className: post.root.hidden ? 'filtered backlink' : 'backlink',
className: post.el.hidden ? 'filtered backlink' : 'backlink',
textContent: QuoteBacklink.funk(post.id)
});
for (qid in quotes) {
@ -3373,7 +3373,7 @@
textContent: "" + quote + "\u00A0(Dead)"
}));
if (board === g.BOARD && $.id(id)) {
a.href = "#" + id;
a.href = "#p" + id;
a.className = 'quotelink';
a.setAttribute('onclick', "replyhl('" + id + "');");
} else {

View File

@ -2380,7 +2380,7 @@ QuoteBacklink =
quotes[qid] = true
a = $.el 'a',
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
for qid of quotes
# Don't backlink the OP.