diff --git a/ghost/core/core/frontend/src/comment-counts/js/comment-counts.js b/ghost/core/core/frontend/src/comment-counts/js/comment-counts.js index c7045d30f6..725ece4642 100644 --- a/ghost/core/core/frontend/src/comment-counts/js/comment-counts.js +++ b/ghost/core/core/frontend/src/comment-counts/js/comment-counts.js @@ -63,6 +63,10 @@ const ids = Array.from(fetchingIds); fetchingIds.clear(); + if (!ids.length) { + return; + } + const rawRes = await fetch(api, { method: 'POST', headers: {