From 0fa25714d4cd6f03f869994f21aa753c393b538b 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 count #170 --- 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 43847db1..3dc47fb6 100644 --- a/js/thread-stats.js +++ b/js/thread-stats.js @@ -61,7 +61,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. if (IDsupport) {