forked from leftypol/leftypol
show-backlinks.js: use div so reply links don't get jumbled up or something
This commit is contained in:
parent
e6b20dc30f
commit
4f01f5ee30
1 changed files with 2 additions and 2 deletions
|
@ -29,9 +29,9 @@ $(document).ready(function() {
|
||||||
if(post.length == 0)
|
if(post.length == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
let mentioned = post.find('.head span.mentioned');
|
let mentioned = post.find('.head div.mentioned');
|
||||||
if (mentioned.length === 0) {
|
if (mentioned.length === 0) {
|
||||||
mentioned = $('<span class="mentioned unimportant"></span>').prependTo(post.find('.head'));
|
mentioned = $('<div class="mentioned unimportant"></div>').prependTo(post.find('.head'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mentioned.find('a.mentioned-' + replyId).length !== 0) {
|
if (mentioned.find('a.mentioned-' + replyId).length !== 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue