File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " vuejs.org" ,
3
3
"private" : true ,
4
4
"hexo" : {
5
- "version" : " 3.8.0 "
5
+ "version" : " 3.8.1 "
6
6
},
7
7
"scripts" : {
8
8
"start" : " hexo server" ,
Original file line number Diff line number Diff line change 368
368
var headers = content . querySelectorAll ( 'h2' )
369
369
if ( headers . length ) {
370
370
each . call ( headers , function ( h ) {
371
- sectionContainer . appendChild ( makeLink ( h ) )
371
+ var listItem = makeLink ( h )
372
+ sectionContainer . appendChild ( listItem )
372
373
var h3s = collectH3s ( h )
373
374
allHeaders . push ( h )
374
375
allHeaders . push . apply ( allHeaders , h3s )
375
376
if ( h3s . length ) {
376
- sectionContainer . appendChild ( makeSubLinks ( h3s , isAPIOrStyleGuide ) )
377
+ listItem . appendChild ( makeSubLinks ( h3s , isAPIOrStyleGuide ) )
377
378
}
378
379
} )
379
380
} else {
You can’t perform that action at this time.
0 commit comments