Fix Quotifier.
This commit is contained in:
parent
def88abec6
commit
18ec912ec7
@ -3391,7 +3391,7 @@
|
||||
nodes.push($.tn(text));
|
||||
}
|
||||
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', {
|
||||
textContent: "" + quote + "\u00A0(Dead)"
|
||||
}));
|
||||
|
||||
@ -2629,7 +2629,7 @@ Quotify =
|
||||
m[1]
|
||||
else
|
||||
# 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',
|
||||
# \u00A0 is nbsp
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user