Skip to content

Commit

Permalink
[CIVIC-1342] Fixed TOC header tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Nov 9, 2023
1 parent af00133 commit f1dcbb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ CivicThemeTableOfContents.prototype.findLinks = function (anchorSelector, scopeS
};

CivicThemeTableOfContents.prototype.renderTitle = function (title) {
return `<div class="ct-table-of-contents__title">${title}</div>`;
return `<h2 class="ct-table-of-contents__title">${title}</h2>`;
};

CivicThemeTableOfContents.prototype.renderLinks = function (links) {
Expand Down

0 comments on commit f1dcbb0

Please sign in to comment.