edit content h1 title

This commit is contained in:
ruanyf
2014-04-22 08:23:47 +08:00
parent 0d052ac49e
commit efcb935c7e
+1 -1
View File
@@ -115,7 +115,7 @@ function create_page_anchors() {
$('#content h' + i).map(function() {
headers.push($(this).text());
$(this).addClass(replace_symbols($(this).text()));
this.id = 'h'+1+'-'+replace_symbols($(this).text();
this.id = 'h'+1+'-'+replace_symbols($(this).text());
});
// parse and set links between li and h2