Fix Quotifying to exising posts.
This commit is contained in:
parent
df69a3bacb
commit
e32148fc5f
@ -3339,7 +3339,7 @@
|
|||||||
nodes.push(a = $.el('a', {
|
nodes.push(a = $.el('a', {
|
||||||
textContent: "" + quote + "\u00A0(Dead)"
|
textContent: "" + quote + "\u00A0(Dead)"
|
||||||
}));
|
}));
|
||||||
if (board === g.BOARD && $.id(id)) {
|
if (board === g.BOARD && $.id("#p" + id)) {
|
||||||
a.href = "#p" + id;
|
a.href = "#p" + id;
|
||||||
a.className = 'quotelink';
|
a.className = 'quotelink';
|
||||||
a.setAttribute('onclick', "replyhl('" + id + "');");
|
a.setAttribute('onclick', "replyhl('" + id + "');");
|
||||||
|
|||||||
@ -2541,7 +2541,7 @@ Quotify =
|
|||||||
# \u00A0 is nbsp
|
# \u00A0 is nbsp
|
||||||
textContent: "#{quote}\u00A0(Dead)"
|
textContent: "#{quote}\u00A0(Dead)"
|
||||||
|
|
||||||
if board is g.BOARD and $.id id
|
if board is g.BOARD and $.id "#p#{id}"
|
||||||
a.href = "#p#{id}"
|
a.href = "#p#{id}"
|
||||||
a.className = 'quotelink'
|
a.className = 'quotelink'
|
||||||
a.setAttribute 'onclick', "replyhl('#{id}');"
|
a.setAttribute 'onclick', "replyhl('#{id}');"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user