From 5c8c8516814bdd825560f162fe1b2a68320763ea Mon Sep 17 00:00:00 2001 From: Zankaria Date: Mon, 2 Sep 2024 23:20:56 +0200 Subject: [PATCH] show-backlinks.js: fix and format --- js/show-backlinks.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/show-backlinks.js b/js/show-backlinks.js index d1627211..a71737d8 100644 --- a/js/show-backlinks.js +++ b/js/show-backlinks.js @@ -14,7 +14,7 @@ onReady(function() { let showBackLinks = function() { - let reply_id = $(this).attr('id').replace(/(^reply_)|(^op_)/, ''); + let replyId = $(this).attr('id').replace(/(^reply_)|(^op_)/, ''); $(this).find('div.body a:not([rel="nofollow"])').each(function() { let id = $(this).text().match(/^>>(\d+)$/); @@ -41,9 +41,9 @@ onReady(function() { return; } - let link = $('>>' + - reply_id + ''); - link.appendTo(mentioned) + let link = $('>>' + replyId + ''); + link.appendTo(mentioned); if (window.init_hover) { link.each(init_hover);