Merge pull request 'Fix 108: fix backlink' (#110) from 108-buggy-op-backlink into config

Reviewed-on: leftypol/leftypol#110
This commit is contained in:
Zankaria 2025-02-22 16:37:10 -06:00
commit 9ea7bf5938

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+)$/);