From 924a21b9f84c702c385cdf181e5397a564bcc82f Mon Sep 17 00:00:00 2001 From: Ricardo Date: Wed, 28 Jan 2026 16:53:23 +0100 Subject: [PATCH] fix: correct variable name in updateTotalCount call Changed newMentions.length to mentionsToShow.length to fix JavaScript error that was breaking webmention display. --- js/webmentions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/webmentions.js b/js/webmentions.js index d53a1b5..92406a3 100644 --- a/js/webmentions.js +++ b/js/webmentions.js @@ -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);