1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-08 23:39:46 +01:00

show-backlinks.js: move backlinks to post head

This commit is contained in:
Zankaria 2024-08-18 17:55:13 +02:00 committed by Zankaria
parent e9f136e2b6
commit d41db75ed5

View File

@ -33,8 +33,8 @@ onReady(function() {
} }
let mentioned = post.find('p.intro span.mentioned'); let mentioned = post.find('p.intro span.mentioned');
if(mentioned.length == 0) { if (mentioned.length === 0) {
mentioned = $('<span class="mentioned unimportant"></span>').appendTo(post.find('p.intro')); mentioned = $('<span class="mentioned unimportant"></span>').prependTo(post.find('.head'));
} }
if (mentioned.find('a.mentioned-' + reply_id).length != 0) { if (mentioned.find('a.mentioned-' + reply_id).length != 0) {