mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-08 15:38:20 +01:00
show-backlinks.js: move backlinks to post head
This commit is contained in:
parent
e9f136e2b6
commit
d41db75ed5
@ -33,8 +33,8 @@ onReady(function() {
|
||||
}
|
||||
|
||||
let mentioned = post.find('p.intro span.mentioned');
|
||||
if(mentioned.length == 0) {
|
||||
mentioned = $('<span class="mentioned unimportant"></span>').appendTo(post.find('p.intro'));
|
||||
if (mentioned.length === 0) {
|
||||
mentioned = $('<span class="mentioned unimportant"></span>').prependTo(post.find('.head'));
|
||||
}
|
||||
|
||||
if (mentioned.find('a.mentioned-' + reply_id).length != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user