Fix Quotifier.
This commit is contained in:
parent
def88abec6
commit
18ec912ec7
@ -3391,7 +3391,7 @@
|
|||||||
nodes.push($.tn(text));
|
nodes.push($.tn(text));
|
||||||
}
|
}
|
||||||
id = quote.match(/\d+$/)[0];
|
id = quote.match(/\d+$/)[0];
|
||||||
board = (m = quote.match(/^>>>\/([a-z\d]+)/)) ? m[1] : $('.quotejs', post.el).pathname.split('/')[1];
|
board = (m = quote.match(/^>>>\/([a-z\d]+)/)) ? m[1] : $('.postNum.desktop', post.el).firstElementChild.pathname.split('/')[1];
|
||||||
nodes.push(a = $.el('a', {
|
nodes.push(a = $.el('a', {
|
||||||
textContent: "" + quote + "\u00A0(Dead)"
|
textContent: "" + quote + "\u00A0(Dead)"
|
||||||
}));
|
}));
|
||||||
|
|||||||
@ -2629,7 +2629,7 @@ Quotify =
|
|||||||
m[1]
|
m[1]
|
||||||
else
|
else
|
||||||
# Get the post's board, whether it's inlined or not.
|
# Get the post's board, whether it's inlined or not.
|
||||||
$('.quotejs', post.el).pathname.split('/')[1]
|
$('.postNum.desktop', post.el).firstElementChild.pathname.split('/')[1]
|
||||||
|
|
||||||
nodes.push a = $.el 'a',
|
nodes.push a = $.el 'a',
|
||||||
# \u00A0 is nbsp
|
# \u00A0 is nbsp
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user