From 1f44afd4881373eb5f53815a4a7a9c29204c57f8 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Tue, 20 Aug 2024 11:21:06 +0200 Subject: [PATCH] thread-stats.js: fix image counter --- js/thread-stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/thread-stats.js b/js/thread-stats.js index 1f8e3257..8bd7da41 100644 --- a/js/thread-stats.js +++ b/js/thread-stats.js @@ -64,7 +64,7 @@ if (active_page == 'thread') { $('#thread_stats_posts').text(replies.length); // Image count. $('#thread_stats_images').text(replies.filter(function() { - return $(this).find('> .files').text().trim() != false; + return $(this).find('>> .files').text().trim() != false; }).length); // Unique ID count.