show-backlinks.js: fix backlink

This commit is contained in:
Zankaria 2025-02-22 23:33:48 +01:00
parent 77ae0b101e
commit c45fbd5ec9

View file

@ -15,7 +15,7 @@
$(document).ready(function() {
let showBackLinks = function() {
let replyId = $(this).attr('id').replace(/^reply_/, '');
let replyId = $(this).attr('id').split('_')[1];
$(this).find('div.body a:not([rel="nofollow"])').each(function() {
let id = $(this).text().match(/^>>(\d+)$/);