show-backlinks.js: fix baklinks stacking

This commit is contained in:
Zankaria 2024-08-20 01:16:09 +02:00
parent b7b87cbf21
commit 9cd7d08fdf

View file

@ -29,7 +29,7 @@ $(document).ready(function() {
if(post.length == 0) if(post.length == 0)
return; return;
let mentioned = post.find('p.intro div.mentioned'); let mentioned = post.find('.head div.mentioned');
if (mentioned.length === 0) { if (mentioned.length === 0) {
mentioned = $('<div class="mentioned unimportant"></div>').prependTo(post.find('.head')); mentioned = $('<div class="mentioned unimportant"></div>').prependTo(post.find('.head'));
} }