Skip to content
Browse files

Add overview to TOC

  • Loading branch information...
1 parent 59693dc commit 6eab2c6a18ea59d069dc44334cf90c4bc11d5ce5 @siriux siriux committed Aug 26, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 reports/generic_report.html
View
5 reports/generic_report.html
@@ -411,7 +411,8 @@
}
function create_groups(results_node, benchmark_results, results_legend) {
- $("#toc").empty();
+ $("#toc").empty();
+ $("#toc").append("<li><a href=\"#overview\">Overview</a></li>");
for (var i = 0; i < benchmark_results.groups.length; i++) {
var group = benchmark_results.groups[i];
@@ -581,7 +582,7 @@
<ol id="toc">
</ol>
- <h2>Overview</h2>
+ <h2 id="overview">Overview</h2>
<div id="description"></div>

0 comments on commit 6eab2c6

Please sign in to comment.
Something went wrong with that request. Please try again.