Skip to content

Commit 3628162

Browse files
authored
Update section-to-sidebar-items.js
sidebar I18n
1 parent 2fd0b92 commit 3628162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/js/section-to-sidebar-items.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ window.addEventListener("load", function () {
1010

1111
// Create the sidebar items
1212
sectionHeaders.forEach(function (header, i) {
13-
const headerId = toId(header.textContent);
13+
const headerId = "sidebar-item-" + i;
1414
header.id = headerId;
1515
const icon = header.querySelector("svg")
1616
? header.querySelector("svg").outerHTML

0 commit comments

Comments
 (0)