mirror of
https://github.com/svemagie/blog-eleventy-indiekit.git
synced 2026-05-16 07:28:51 +02:00
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:
+1
-1
@@ -74,7 +74,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Update total count in main header
|
// Update total count in main header
|
||||||
updateTotalCount(newMentions.length);
|
updateTotalCount(mentionsToShow.length);
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.debug('[Webmentions] Error fetching:', err.message);
|
console.debug('[Webmentions] Error fetching:', err.message);
|
||||||
|
|||||||
Reference in New Issue
Block a user