fix: correct variable name in updateTotalCount call

Changed newMentions.length to mentionsToShow.length to fix
JavaScript error that was breaking webmention display.
This commit is contained in:
Ricardo
2026-01-28 16:53:23 +01:00
parent 44e8983da8
commit 924a21b9f8

View File

@@ -74,7 +74,7 @@
}
// Update total count in main header
updateTotalCount(newMentions.length);
updateTotalCount(mentionsToShow.length);
})
.catch((err) => {
console.debug('[Webmentions] Error fetching:', err.message);