File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ fetch(src)
117117 navSectionSubLi . classList . add ( "nav-list" ) ;
118118 const navSectionSubLink = document . createElement ( "a" ) ;
119119 navSectionSubLink . classList . add ( "nav-a" ) ;
120- navSectionSubLink . href = `${ navArticleId } / section${ index + 1 } ` ;
120+ navSectionSubLink . href = `${ navArticleId } - section${ index + 1 } ` ;
121121 navSectionSubLink . textContent = `${ index + 1 } . ${ section . title } ` ;
122122 navSectionSubLi . appendChild ( navSectionSubLink ) ;
123123 navSectionUl . appendChild ( navSectionSubLi ) ;
@@ -179,7 +179,7 @@ fetch(src)
179179 articleContainer . appendChild ( sectionContainer ) ;
180180 sections . forEach ( ( section , index ) => {
181181 const sectionContainerH3 = document . createElement ( "h3" ) ;
182- sectionContainerH3 . id = `${ articleId } / section${ index + 1 } ` ;
182+ sectionContainerH3 . id = `${ articleId } - section${ index + 1 } ` ;
183183 sectionContainerH3 . classList . add ( "heading-secondary" ) ;
184184 sectionContainerH3 . textContent = `${ index + 1 } . ${ section . title } ` ;
185185 sectionContainer . appendChild ( sectionContainerH3 ) ;
You can’t perform that action at this time.
0 commit comments