Skip to content

Commit f0370a3

Browse files
Add comment about class selector construction
1 parent 98d6c02 commit f0370a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

assets/js/shortcuts.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ function setupShortcuts(shortcutDepth = 2) {
9999
shortcutDepth += 1; // to account for the page title
100100

101101
// Build a class selector for each header type, and concatenate with commas
102+
// This adds selectors for leaf bundles (index.md files).
102103
let classes = "";
103104
for (let i = 2; i <= shortcutDepth; i++) {
104105
if (i != 2) {

0 commit comments

Comments
 (0)