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);