--- a/mercurial/templates/spartan/graph.tmpl Fri Jan 05 19:16:08 2018 +0800
+++ b/mercurial/templates/spartan/graph.tmpl Fri Jan 05 19:22:05 2018 +0800
@@ -31,7 +31,6 @@
<noscript>The revision graph only works with JavaScript-enabled browsers.</noscript>
<div id="wrapper">
-<ul id="nodebgs"></ul>
<canvas id="graph"></canvas>
<ul id="graphnodes">{nodes%graphentry}</ul>
</div>
@@ -40,12 +39,6 @@
var data = {jsdata|json};
var graph = new Graph();
graph.scale({bg_height});
-
-graph.vertex = function(x, y, radius, color, parity, cur) \{
- Graph.prototype.vertex.apply(this, arguments);
- return ['<li class="bg parity' + parity + '"></li>', ''];
-}
-
graph.render(data);
</script>