Revert "show-backlinks.js: use div instead of span"

This reverts commit b7b87cbf21.
This commit is contained in:
Zankaria 2024-08-20 01:22:54 +02:00
parent 9cd7d08fdf
commit 8d812fa4f4

View file

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