diff --git a/js/main.js b/js/main.js index 667dad7..7ae5273 100644 --- a/js/main.js +++ b/js/main.js @@ -127,8 +127,11 @@ async function loadCommunityStats() { if (data.users !== undefined) { animateCounter('stat-members', data.users); } + if (data.posts !== undefined) { + animateCounter('stat-posts', data.posts); + } if (data.topics !== undefined) { - document.getElementById('stat-wiki').textContent = data.topics; + animateCounter('stat-wiki', data.topics); } } catch (error) { console.error('Failed to load community stats:', error);