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:
parent
e9f136e2b6
commit
d41db75ed5
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user