Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions templates/modern/src/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ function inThisArticle(): TemplateResult {
return html`
<h5 class="border-bottom">${loc('inThisArticle')}</h5>
<ul>${headings.map(h => h.tagName === 'H2'
? html`<li><a class="link-body-emphasis" href="#${h.id}">${breakWordLit(h.innerText)}</a></li>`
: html`<li><a class="link-secondary" href="#${h.id}">${breakWordLit(h.innerText)}</a></li>`
? html`<li><a class="link-body-emphasis" href="#${h.id}">${breakWordLit(h.textContent)}</a></li>`
: html`<li><a class="link-secondary" href="#${h.id}">${breakWordLit(h.textContent)}</a></li>`
)}</ul>`
}
}
Expand Down
Loading