Skip to content

Commit d24b27f

Browse files
committed
instantsearch.js: Hide the group child count
1 parent ee5af5f commit d24b27f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/js/instantsearch.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
// Not first, last and in a new group: close previous group, close current group
155155
let groupHeaderHTML = `<h2 class="instantsearch__group-header">
156156
${previousGroupName}
157-
(${groupChildCount})
157+
<!--(${groupChildCount})-->
158158
</h2>`;
159159
resultHTML += `${groupHeaderHTML}
160160
<div class="instantsearch__group">
@@ -172,7 +172,7 @@
172172
// Not first, not last and in new group: close previous group, add to next group content
173173
let groupHeaderHTML = `<h2 class="instantsearch__group-header">
174174
${previousGroupName}
175-
(${groupChildCount})
175+
<!--(${groupChildCount})-->
176176
</h2>`;
177177
resultHTML += `${groupHeaderHTML}
178178
<div class="instantsearch__group">
@@ -187,7 +187,7 @@
187187
groupChildCount++;
188188
let groupHeaderHTML = `<h2 class="instantsearch__group-header">
189189
${groupName}
190-
(${groupChildCount})
190+
<!--(${groupChildCount})-->
191191
</h2>`;
192192
resultHTML += `${groupHeaderHTML}
193193
<div class="instantsearch__group">

0 commit comments

Comments
 (0)