forked from GithubBackups/vichan
thread-stats.js: fix image counter
This commit is contained in:
parent
bff9d0ab19
commit
1f44afd488
@ -64,7 +64,7 @@ if (active_page == 'thread') {
|
|||||||
$('#thread_stats_posts').text(replies.length);
|
$('#thread_stats_posts').text(replies.length);
|
||||||
// Image count.
|
// Image count.
|
||||||
$('#thread_stats_images').text(replies.filter(function() {
|
$('#thread_stats_images').text(replies.filter(function() {
|
||||||
return $(this).find('> .files').text().trim() != false;
|
return $(this).find('>> .files').text().trim() != false;
|
||||||
}).length);
|
}).length);
|
||||||
|
|
||||||
// Unique ID count.
|
// Unique ID count.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user