forked from leftypol/leftypol
thread-stats.js: fix image count #170
This commit is contained in:
parent
5811945459
commit
0fa25714d4
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue