Skip to content

Commit 658399a

Browse files
author
Manuel Mujica
committed
Change anchor id format
Closes #4
1 parent 764a2c9 commit 658399a

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)