File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -314,6 +314,8 @@ page:
314
314
class : ' aura-dbp'
315
315
- name : ' AuraDB Virtual Dedicated Cloud'
316
316
class : ' aura-dbe'
317
+ - name : ' AuraDB Business Critical'
318
+ class : ' aura-dbc'
317
319
- name : ' AuraDS Professional'
318
320
class : ' aura-dsp'
319
321
- name : ' AuraDS Enterprise'
Original file line number Diff line number Diff line change 30
30
var list = headings . reduce ( function ( accum , heading ) {
31
31
var link = document . createElement ( 'a' )
32
32
var headingClone = heading . cloneNode ( true )
33
- headingClone . querySelectorAll ( 'div, a' ) . forEach ( function ( el ) { el . remove ( ) } )
34
- link . innerHTML = headingClone . innerHTML
33
+ // console.log(headingClone)
34
+ headingClone . querySelectorAll ( 'div, a.anchor' ) . forEach ( function ( el ) { el . remove ( ) } )
35
+ if ( headingClone . querySelector ( 'a' ) ) {
36
+ link . textContent = headingClone . textContent
37
+ } else {
38
+ link . innerHTML = headingClone . innerHTML
39
+ }
35
40
links [ ( link . href = '#' + heading . id ) ] = link
36
41
var listItem = document . createElement ( 'li' )
37
42
listItem . dataset . level = parseInt ( heading . nodeName . slice ( 1 ) ) - 1
You can’t perform that action at this time.
0 commit comments