Skip to content

Commit 2ff1a4d

Browse files
author
Manuel Mujica
authored
Merge pull request #5 from bit-docs/change-id-format
Change anchor id format
2 parents 764a2c9 + 658399a commit 2ff1a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ var TableOfContents = Control.extend({
100100
var navHeight = this.navHeight;
101101
return [].map.call(titles, function(title, idx){
102102
var txt = title.textContent;
103-
title.id = 'sig_' + txt.replace(/\s/g,"").replace(/[^\w]/g,"_");
103+
title.id = 'section_' + txt.replace(/\s/g,"").replace(/[^\w]/g,"_");
104104
return {
105105
id: title.id,
106106
index: idx,

0 commit comments

Comments
 (0)