From c45fbd5ec9b25ff58e9765289e6f74c6a47dab2d Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sat, 22 Feb 2025 23:33:48 +0100 Subject: [PATCH] show-backlinks.js: fix backlink --- js/show-backlinks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/show-backlinks.js b/js/show-backlinks.js index f0671e80..607c24ab 100644 --- a/js/show-backlinks.js +++ b/js/show-backlinks.js @@ -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+)$/);