Skip to content

Commit 8980988

Browse files
committed
Remove javascript navigation build
1 parent 7d4f5f2 commit 8980988

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

templates/_footer.html

-13
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,6 @@
88
<script>
99
$(document).ready(function() {
1010

11-
// build simple sidebar navigation
12-
var $headers = $('.main > h1');
13-
var $componentList = $('.componentList');
14-
15-
$headers.each(function() {
16-
var headerText = $(this).text();
17-
$(this).attr('id', headerText);
18-
19-
$componentList.append(
20-
'<li><a href="#' + headerText + '">' + headerText + '</a></li>'
21-
);
22-
});
23-
2411
// set the active tab
2512
var currentHref = document.location.pathname.substr(1);
2613
if (currentHref)

0 commit comments

Comments
 (0)