fixed topology issue for changing background color

Change-Id: Ieea858924a0bc3a39575df61ad359904ef4b1b15
This commit is contained in:
chi zhang 2014-10-15 13:58:16 -07:00
parent eeb7b83972
commit 612f968216
1 changed files with 1 additions and 2 deletions

View File

@ -215,8 +215,7 @@ define(['angular', 'ganttChart'], function(angular, ganttChart) {
zoomTo([root.x, root.y, root.r * 2 + margin]);
d3.select("body")
.style("background", color(-1))
d3.select("#" + elemId)
.on("click", function() {
zoom(root);
});