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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user