Commit dd4a6a48 authored by Téo Vasseur's avatar Téo Vasseur Committed by Mathieu Giraud

scatterPlot.js : reset div class instead of 'appending'

So as to remove 'graph' class when initializing the scatterplot
parent 5c41d6a6
...@@ -192,7 +192,7 @@ ScatterPlot.prototype = { ...@@ -192,7 +192,7 @@ ScatterPlot.prototype = {
var self = this; var self = this;
this.label_container = d3.select("#" + this.id) this.label_container = d3.select("#" + this.id)
.classed("scatterplot", true) .attr("class", "scatterplot")
.append("div") .append("div")
.attr("id", this.id + "_label_container") .attr("id", this.id + "_label_container")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment