summaryrefslogtreecommitdiffstats
path: root/visualize
diff options
context:
space:
mode:
Diffstat (limited to 'visualize')
-rw-r--r--visualize/static/visualize.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/visualize/static/visualize.js b/visualize/static/visualize.js
index 7e240d4..5004fe6 100644
--- a/visualize/static/visualize.js
+++ b/visualize/static/visualize.js
@@ -55,7 +55,7 @@ function packages_treemap(chart_id, orderings, default_order) {
var nodes = d3_div.data([json]).selectAll("div")
.data(treemap.nodes, key_func);
/* start out new nodes in the center of the picture area */
- var w_center = jq_div.width() / 2;
+ var w_center = jq_div.width() / 2,
h_center = jq_div.height() / 2;
nodes.enter().append("div")
.attr("class", "treemap-cell")