Fix problem with refreshing D3 plugin

Fixes #217
This commit is contained in:
Jermolene
2014-03-11 11:12:56 +00:00
parent fe33906ef0
commit aec618793f
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ CloudWidget.prototype.createChart = function(parent,nextSibling) {
});
}
// Create the svg element
var svgElement = d3.select(parent).insert("svg",nextSibling)
var svgElement = d3.select(parent).insert("svg",function() {return nextSibling;})
.attr("width", 600)
.attr("height", 400);
// Create the main group