forked from leftypol/leftypol
show-backlinks.js: simplify
This commit is contained in:
parent
cd2a4b5fac
commit
66b1e7d569
1 changed files with 2 additions and 5 deletions
|
@ -25,12 +25,9 @@ $(document).ready(function() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let post = $('#reply_' + id);
|
let post = $('#reply_' + id + ', #op_' + id);
|
||||||
if (post.length == 0) {
|
if (post.length == 0) {
|
||||||
post = $('#op_' + id);
|
return;
|
||||||
if (post.length == 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let mentioned = post.find('.head div.mentioned');
|
let mentioned = post.find('.head div.mentioned');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue