From 66b1e7d5690a4aaa01a85495a8536cae37876426 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sun, 29 Dec 2024 15:33:10 +0100 Subject: [PATCH] show-backlinks.js: simplify --- js/show-backlinks.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/js/show-backlinks.js b/js/show-backlinks.js index 3a20ae01..f0671e80 100644 --- a/js/show-backlinks.js +++ b/js/show-backlinks.js @@ -25,12 +25,9 @@ $(document).ready(function() { return; } - let post = $('#reply_' + id); + let post = $('#reply_' + id + ', #op_' + id); if (post.length == 0) { - post = $('#op_' + id); - if (post.length == 0) { - return; - } + return; } let mentioned = post.find('.head div.mentioned');