From dd4a6a482c8b02d882c89931c1affc9c9d312683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=A9o=20Vasseur?= Date: Mon, 29 May 2017 13:15:19 +0200 Subject: [PATCH] scatterPlot.js : reset div class instead of 'appending' So as to remove 'graph' class when initializing the scatterplot --- browser/js/scatterPlot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/js/scatterPlot.js b/browser/js/scatterPlot.js index 8901c366f..3b5f54254 100644 --- a/browser/js/scatterPlot.js +++ b/browser/js/scatterPlot.js @@ -192,7 +192,7 @@ ScatterPlot.prototype = { var self = this; this.label_container = d3.select("#" + this.id) - .classed("scatterplot", true) + .attr("class", "scatterplot") .append("div") .attr("id", this.id + "_label_container") -- GitLab