From a457b905bf378cbb05b3b9c205d58881ca04b851 Mon Sep 17 00:00:00 2001 From: Lorenzo Yario Date: Tue, 17 Sep 2024 21:44:06 -0700 Subject: [PATCH] from master branch --- js/show-backlinks.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/show-backlinks.js b/js/show-backlinks.js index 19a3d5dd..d80eebaa 100644 --- a/js/show-backlinks.js +++ b/js/show-backlinks.js @@ -57,9 +57,10 @@ onReady(function() { $('div.post.op').each(showBackLinks); $(document).on('new_post', function(e, post) { - showBackLinks.call(post); if ($(post).hasClass("op")) { $(post).find('div.post.reply').each(showBackLinks); + } else { + $(post).parent().find('div.post.reply').each(showBackLinks); } }); });