forked from leftypol/leftypol
show-backlinks.js: use div instead of span
This commit is contained in:
parent
28eeb3de76
commit
b7b87cbf21
1 changed files with 2 additions and 2 deletions
|
@ -29,9 +29,9 @@ $(document).ready(function() {
|
|||
if(post.length == 0)
|
||||
return;
|
||||
|
||||
let mentioned = post.find('p.intro span.mentioned');
|
||||
let mentioned = post.find('p.intro div.mentioned');
|
||||
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue